Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001171/0.001171, 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.00113/0.00113, 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.289/1.289, 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.9668/0.9668, allocations: 175.7 MB / 480.1 MB, free: 3.176 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.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 67.05 kB / 0.6677 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1543, allocations: 94.54 MB / 0.7601 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00644/0.1608, allocations: 4.99 MB / 0.7649 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4893/0.65, allocations: 151.2 MB / 0.9126 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007212/0.6507, allocations: 20.22 kB / 0.9126 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005536/0.6513, allocations: 198.2 kB / 0.9128 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.6529, allocations: 0.5706 MB / 0.9134 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.6546, allocations: 0.8692 MB / 0.9142 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.656, allocations: 1.435 MB / 0.9156 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006514/0.6566, allocations: 430.5 kB / 0.916 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005636/0.6572, allocations: 0.5012 MB / 0.9165 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005711/0.6577, allocations: 0.5166 MB / 0.917 GB, free: 48 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.6579, allocations: 118.6 kB / 0.9171 GB, free: 48 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008611/0.6587, allocations: 495.2 kB / 0.9176 GB, free: 15.86 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.659, allocations: 299.5 kB / 0.9179 GB, free: 15.62 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004993/0.6595, allocations: 0.5773 MB / 0.9184 GB, free: 15.2 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.6612, allocations: 1.68 MB / 0.9201 GB, free: 14 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6612, allocations: 0 / 0.9201 GB, free: 14 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6612, allocations: 4 kB / 0.9201 GB, free: 13.99 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.6612, allocations: 0 / 0.9201 GB, free: 13.99 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00241/0.6637, allocations: 1.503 MB / 0.9216 GB, free: 12.8 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.6637, allocations: 10.38 kB / 0.9216 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.6638, allocations: 138 kB / 0.9217 GB, free: 12.69 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008315/0.6647, allocations: 196.6 kB / 0.9219 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.6657, allocations: 0.7936 MB / 0.9227 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.355e-05/0.6658, allocations: 65.72 kB / 0.9227 GB, free: 11.91 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.585e-05/0.6659, allocations: 78.09 kB / 0.9228 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.6673, allocations: 0.9495 MB / 0.9237 GB, free: 11.28 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.6673, allocations: 0 / 0.9237 GB, free: 11.28 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/0.6674, allocations: 41.73 kB / 0.9238 GB, free: 11.25 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.6674, allocations: 20.06 kB / 0.9238 GB, free: 11.25 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.669, allocations: 1.134 MB / 0.9249 GB, free: 10.7 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00365/0.6726, allocations: 2.785 MB / 0.9276 GB, free: 8.453 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.674, allocations: 0.8631 MB / 0.9285 GB, free: 7.957 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.6745, allocations: 287.1 kB / 0.9287 GB, free: 7.809 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.195e-05/0.6746, allocations: 32.16 kB / 0.9288 GB, free: 7.793 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008/0.6754, allocations: 0.5198 MB / 0.9293 GB, free: 7.457 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 2.204e-06/0.6754, allocations: 3.938 kB / 0.9293 GB, free: 7.453 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.003016/0.6784, allocations: 1.267 MB / 0.9305 GB, free: 6.762 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.6785, allocations: 190.9 kB / 0.9307 GB, free: 6.543 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.6792, allocations: 0.6419 MB / 0.9313 GB, free: 6.164 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.581e-05/0.6793, allocations: 43.39 kB / 0.9314 GB, free: 6.121 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.6796, allocations: 409.4 kB / 0.9317 GB, free: 5.762 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.6798, allocations: 292.9 kB / 0.932 GB, free: 5.508 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.6801, allocations: 154.1 kB / 0.9322 GB, free: 5.414 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.6802, allocations: 386.9 kB / 0.9325 GB, free: 5.047 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000463/0.6807, allocations: 255 kB / 0.9328 GB, free: 4.922 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005861/0.6813, allocations: 384.8 kB / 0.9332 GB, free: 4.676 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.6823, allocations: 0.6107 MB / 0.9337 GB, free: 4.34 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6823, allocations: 3.938 kB / 0.9338 GB, free: 4.336 MB / 0.67 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001741/0.6841, allocations: 0.8389 MB / 0.9346 GB, free: 3.91 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.6841, allocations: 6.312 kB / 0.9346 GB, free: 3.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.6841, allocations: 6.438 kB / 0.9346 GB, free: 3.906 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005403/0.6846, allocations: 84.58 kB / 0.9347 GB, free: 3.863 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.6852, allocations: 162.2 kB / 0.9348 GB, free: 3.824 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.6872, allocations: 1.635 MB / 0.9364 GB, free: 2.215 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006653/0.6879, allocations: 92.62 kB / 0.9365 GB, free: 2.156 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.688, allocations: 35.75 kB / 0.9365 GB, free: 2.141 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.000404/0.6884, allocations: 269.7 kB / 0.9368 GB, free: 1.93 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.6885, allocations: 91.73 kB / 0.9369 GB, free: 1.879 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.6908, allocations: 1.137 MB / 0.938 GB, free: 1.25 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/0.6908, allocations: 14.38 kB / 0.938 GB, free: 1.246 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.6908, allocations: 0 / 0.938 GB, free: 1.246 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.6908, allocations: 3.984 kB / 0.938 GB, free: 1.242 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.6939, allocations: 2.031 MB / 0.94 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.6939, allocations: 4 kB / 0.94 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/0.6945, allocations: 157.5 kB / 0.9401 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004214/0.6949, allocations: 64.23 kB / 0.9402 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.534e-05/0.6949, allocations: 34.16 kB / 0.9402 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.6968, allocations: 1.66 MB / 0.9419 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6968, allocations: 8.5 kB / 0.9419 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.6987, allocations: 1.058 MB / 0.9429 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.699, allocations: 286.8 kB / 0.9432 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.6991, allocations: 29.27 kB / 0.9432 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/0.6998, allocations: 64.39 kB / 0.9433 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.6999, allocations: 78.48 kB / 0.9433 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-05/0.7, allocations: 41.22 kB / 0.9434 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005464/0.7006, allocations: 470.6 kB / 0.9438 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.7006, allocations: 0 / 0.9438 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008803/0.7014, allocations: 323.2 kB / 0.9441 GB, free: 12.59 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 (100): * Single equations (assignments): 93 * 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.003986/0.7054, allocations: 2.105 MB / 0.9462 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001644/0.7071, allocations: 0.8078 MB / 0.947 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7071, allocations: 0 / 0.947 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009026/0.708, allocations: 0.516 MB / 0.9475 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.7091, allocations: 308.4 kB / 0.9478 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009799/0.7189, allocations: 6.435 MB / 0.9541 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.7195, allocations: 1.04 MB / 0.9551 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007113/0.7203, allocations: 267 kB / 0.9553 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/0.7208, allocations: 399.3 kB / 0.9557 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of SimCode: time 7.11e-07/0.7208, allocations: 3.938 kB / 0.9557 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05618/0.777, allocations: 22.42 MB / 0.9776 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.53, allocations: 3.938 kB / 0.9776 GB, free: 10.49 MB / 0.7169 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.107889856997645]