Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008221/0.0008221, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 221.7 kB / 22.26 MB, free: 3.691 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9762/0.9762, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7852/0.7852, allocations: 203.8 MB / 0.5042 GB, free: 10.79 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009314/0.0009314, allocations: 71.53 kB / 0.7182 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.466, allocations: 102 MB / 0.8178 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005384/0.4714, allocations: 6.086 MB / 0.8238 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1481/0.6195, allocations: 154.4 MB / 0.9745 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.6205, allocations: 27.81 kB / 0.9746 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006208/0.6212, allocations: 253.6 kB / 0.9748 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.6228, allocations: 0.6391 MB / 0.9754 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.6245, allocations: 0.9203 MB / 0.9763 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.6257, allocations: 1.665 MB / 0.978 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006948/0.6264, allocations: 0.6011 MB / 0.9785 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000591/0.627, allocations: 0.6463 MB / 0.9792 GB, free: 284 kB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005422/0.6275, allocations: 0.6729 MB / 0.9798 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.6277, allocations: 156 kB / 0.98 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007722/0.6285, allocations: 0.5504 MB / 0.9805 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003692/0.6288, allocations: 378.7 kB / 0.9809 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004019/0.6292, allocations: 0.7424 MB / 0.9816 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.6308, allocations: 2.096 MB / 0.9837 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6308, allocations: 0 / 0.9837 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6308, allocations: 3.938 kB / 0.9837 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.6309, allocations: 4 kB / 0.9837 GB, free: 11.67 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.001899/0.6328, allocations: 1.713 MB / 0.9853 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.6328, allocations: 8.031 kB / 0.9853 GB, free: 9.91 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.6329, allocations: 181.8 kB / 0.9855 GB, free: 9.723 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000843/0.6338, allocations: 275.8 kB / 0.9858 GB, free: 9.453 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009329/0.6347, allocations: 0.8194 MB / 0.9866 GB, free: 8.602 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.805e-05/0.6348, allocations: 90.41 kB / 0.9867 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.6349, allocations: 120 kB / 0.9868 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.6364, allocations: 1.202 MB / 0.988 GB, free: 7.129 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.6365, allocations: 3.938 kB / 0.988 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.246e-05/0.6365, allocations: 52 kB / 0.988 GB, free: 7.074 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.6365, allocations: 28 kB / 0.988 GB, free: 7.047 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.6378, allocations: 1.281 MB / 0.9893 GB, free: 5.758 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.641, allocations: 3.636 MB / 0.9928 GB, free: 1.914 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.642, allocations: 0.8222 MB / 0.9936 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.6423, allocations: 298.5 kB / 0.9939 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.479e-05/0.6424, allocations: 28.72 kB / 0.994 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005672/0.643, allocations: 0.5174 MB / 0.9945 GB, free: 240 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=87): time 1.623e-06/0.643, allocations: 4 kB / 0.9945 GB, free: 236 kB / 0.7605 GB Notification: Performance of matching and sorting (n=87): time 0.002043/0.645, allocations: 1.215 MB / 0.9956 GB, free: 15 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.617e-05/0.6451, allocations: 196.9 kB / 0.9958 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/0.6457, allocations: 0.755 MB / 0.9966 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/0.6458, allocations: 41.7 kB / 0.9966 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.646, allocations: 0.5398 MB / 0.9971 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.6462, allocations: 293.5 kB / 0.9974 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.6463, allocations: 158.6 kB / 0.9976 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.6464, allocations: 342 kB / 0.9979 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.6467, allocations: 265.9 kB / 0.9981 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.6472, allocations: 390.5 kB / 0.9985 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007295/0.6479, allocations: 0.6398 MB / 0.9991 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6479, allocations: 0 / 0.9991 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001128/0.649, allocations: 0.8726 MB / 1 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.649, allocations: 7.938 kB / 1 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.649, allocations: 0 / 1 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002925/0.6493, allocations: 84.86 kB / 1 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.6497, allocations: 167.7 kB / 1 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.6511, allocations: 1.542 MB / 1.002 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.6514, allocations: 103.6 kB / 1.002 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.6515, allocations: 31.97 kB / 1.002 GB, free: 8.367 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003244/0.6518, allocations: 301.4 kB / 1.002 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.6519, allocations: 103.3 kB / 1.002 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.6533, allocations: 1.134 MB / 1.003 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6533, allocations: 8 kB / 1.003 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.6534, allocations: 0 / 1.003 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.6534, allocations: 7.984 kB / 1.003 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007803/0.6541, allocations: 1.035 MB / 1.004 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6541, allocations: 0 / 1.004 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.6545, allocations: 159.8 kB / 1.005 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/0.6547, allocations: 72.78 kB / 1.005 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.6547, allocations: 31.86 kB / 1.005 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.6558, allocations: 1.547 MB / 1.006 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6558, allocations: 8 kB / 1.006 GB, free: 3.781 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.657, allocations: 0.9907 MB / 1.007 GB, free: 2.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.6572, allocations: 219 kB / 1.007 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.738e-05/0.6573, allocations: 16 kB / 1.007 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.6576, allocations: 74.2 kB / 1.007 GB, free: 2.469 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.6577, allocations: 76.8 kB / 1.008 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.6578, allocations: 43.97 kB / 1.008 GB, free: 2.352 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004451/0.6582, allocations: 0.5342 MB / 1.008 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6582, allocations: 0 / 1.008 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006234/0.6588, allocations: 386.8 kB / 1.008 GB, free: 1.441 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002486/0.6613, allocations: 2.045 MB / 1.01 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.6624, allocations: 0.8234 MB / 1.011 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6624, allocations: 0 / 1.011 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.6629, allocations: 0.516 MB / 1.012 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007213/0.6636, allocations: 334.8 kB / 1.012 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007442/0.6711, allocations: 7.144 MB / 1.019 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.6715, allocations: 1.11 MB / 1.02 GB, free: 5.48 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005265/0.6721, allocations: 279.8 kB / 1.02 GB, free: 5.203 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.6725, allocations: 0.4914 MB / 1.021 GB, free: 4.711 MB / 0.7917 GB Notification: Performance of SimCode: time 6.31e-07/0.6725, allocations: 0 / 1.021 GB, free: 4.711 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03774/0.7102, allocations: 25.13 MB / 1.045 GB, free: 11.76 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.209/9.919, allocations: 15.73 kB / 1.045 GB, free: 11.75 MB / 0.823 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.95079025393352] Failed to read output from testmodel.py, exit status != 0: 10.067782804835588 10.076941806 9.444212152 Calling exit ...