Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9849/0.9849, allocations: 175.7 MB / 480.1 MB, free: 2.816 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 63.95 kB / 0.6677 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1533, allocations: 94.54 MB / 0.7601 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006311/0.1596, allocations: 4.971 MB / 0.7649 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4811/0.6407, allocations: 151.2 MB / 0.9126 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008068/0.6416, allocations: 18.12 kB / 0.9126 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005505/0.6421, allocations: 193 kB / 0.9128 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.6436, allocations: 0.5695 MB / 0.9133 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.6453, allocations: 0.8802 MB / 0.9142 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001223/0.6465, allocations: 1.426 MB / 0.9156 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006307/0.6472, allocations: 414.3 kB / 0.916 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000525/0.6477, allocations: 0.5075 MB / 0.9165 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000564/0.6482, allocations: 0.5215 MB / 0.917 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.6484, allocations: 116.5 kB / 0.9171 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000824/0.6492, allocations: 490.2 kB / 0.9176 GB, free: 15.87 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.6495, allocations: 302.7 kB / 0.9178 GB, free: 15.63 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004967/0.65, allocations: 0.5728 MB / 0.9184 GB, free: 15.21 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.6517, allocations: 1.675 MB / 0.92 GB, free: 14.01 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6517, allocations: 0 / 0.92 GB, free: 14.01 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6517, allocations: 0 / 0.92 GB, free: 14.01 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.6517, allocations: 0 / 0.92 GB, free: 14.01 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002569/0.6543, allocations: 1.509 MB / 0.9215 GB, free: 12.82 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.6543, allocations: 10.62 kB / 0.9215 GB, free: 12.82 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/0.6545, allocations: 135.6 kB / 0.9216 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008431/0.6554, allocations: 195.7 kB / 0.9218 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.6565, allocations: 0.7837 MB / 0.9226 GB, free: 11.96 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/0.6565, allocations: 61.75 kB / 0.9227 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.6566, allocations: 83.84 kB / 0.9227 GB, free: 11.91 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.6581, allocations: 0.9446 MB / 0.9237 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.6581, allocations: 0 / 0.9237 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.912e-05/0.6582, allocations: 42.08 kB / 0.9237 GB, free: 11.27 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.6582, allocations: 21.59 kB / 0.9237 GB, free: 11.27 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.6599, allocations: 1.12 MB / 0.9248 GB, free: 10.74 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003699/0.6636, allocations: 2.789 MB / 0.9275 GB, free: 8.48 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.665, allocations: 0.8542 MB / 0.9284 GB, free: 7.988 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/0.6655, allocations: 291.5 kB / 0.9287 GB, free: 7.832 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.478e-05/0.6656, allocations: 28.19 kB / 0.9287 GB, free: 7.82 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008267/0.6664, allocations: 0.5293 MB / 0.9292 GB, free: 7.48 MB / 0.67 GB Notification: Performance of pre-optimization done (n=84): time 2.144e-06/0.6664, allocations: 0 / 0.9292 GB, free: 7.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.003042/0.6694, allocations: 1.253 MB / 0.9304 GB, free: 6.797 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.6695, allocations: 195.1 kB / 0.9306 GB, free: 6.574 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007089/0.6702, allocations: 0.6355 MB / 0.9312 GB, free: 6.203 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.718e-05/0.6703, allocations: 42.73 kB / 0.9313 GB, free: 6.16 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.6706, allocations: 405.1 kB / 0.9317 GB, free: 5.805 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.6708, allocations: 285.2 kB / 0.9319 GB, free: 5.559 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.671, allocations: 153.4 kB / 0.9321 GB, free: 5.465 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.6712, allocations: 397 kB / 0.9324 GB, free: 5.086 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/0.6717, allocations: 255.3 kB / 0.9327 GB, free: 4.961 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/0.6723, allocations: 364.1 kB / 0.933 GB, free: 4.734 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.6733, allocations: 0.6036 MB / 0.9336 GB, free: 4.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6733, allocations: 0 / 0.9336 GB, free: 4.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001727/0.675, allocations: 0.8357 MB / 0.9344 GB, free: 3.98 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.675, allocations: 2.688 kB / 0.9344 GB, free: 3.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.675, allocations: 3.688 kB / 0.9345 GB, free: 3.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.6756, allocations: 88.17 kB / 0.9345 GB, free: 3.934 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.6762, allocations: 158.9 kB / 0.9347 GB, free: 3.895 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.6782, allocations: 1.635 MB / 0.9363 GB, free: 2.289 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/0.6788, allocations: 86.97 kB / 0.9364 GB, free: 2.234 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.6789, allocations: 32.72 kB / 0.9364 GB, free: 2.223 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0003425/0.6792, allocations: 272.7 kB / 0.9367 GB, free: 2.008 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.6794, allocations: 87.66 kB / 0.9367 GB, free: 1.961 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.6816, allocations: 1.136 MB / 0.9379 GB, free: 1.328 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.6816, allocations: 13.69 kB / 0.9379 GB, free: 1.324 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.6816, allocations: 0 / 0.9379 GB, free: 1.324 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.6817, allocations: 7.969 kB / 0.9379 GB, free: 1.316 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.6847, allocations: 2.019 MB / 0.9398 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6847, allocations: 0 / 0.9398 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005422/0.6852, allocations: 158.8 kB / 0.94 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/0.6856, allocations: 75.06 kB / 0.9401 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.182e-05/0.6857, allocations: 23.83 kB / 0.9401 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.6875, allocations: 1.674 MB / 0.9417 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6875, allocations: 0 / 0.9417 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.6894, allocations: 1.05 MB / 0.9427 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/0.6897, allocations: 284.4 kB / 0.943 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.6898, allocations: 27.67 kB / 0.943 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006467/0.6905, allocations: 66.52 kB / 0.9431 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.6906, allocations: 78.8 kB / 0.9432 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-05/0.6907, allocations: 38.72 kB / 0.9432 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005022/0.6912, allocations: 465.5 kB / 0.9437 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6912, allocations: 6.5 kB / 0.9437 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008125/0.692, allocations: 322.9 kB / 0.944 GB, free: 12.75 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00401/0.696, allocations: 2.103 MB / 0.946 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.6977, allocations: 0.8079 MB / 0.9468 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6977, allocations: 0 / 0.9468 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009115/0.6986, allocations: 0.5079 MB / 0.9473 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.6998, allocations: 317.1 kB / 0.9476 GB, free: 9.176 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.7098, allocations: 6.397 MB / 0.9539 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/0.7105, allocations: 1.036 MB / 0.9549 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007843/0.7112, allocations: 278.9 kB / 0.9551 GB, free: 1.277 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005712/0.7118, allocations: 403.3 kB / 0.9555 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of SimCode: time 1.021e-06/0.7118, allocations: 0 / 0.9555 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05617/0.768, allocations: 22.38 MB / 0.9774 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.5, allocations: 6.906 kB / 0.9774 GB, free: 10.73 MB / 0.7169 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.08984506499837]