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.001695/0.001695, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001929/0.001929, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.562/1.562, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] 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 1.102/1.102, allocations: 175.7 MB / 478.4 MB, free: 3.422 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.001941/0.001941, allocations: 67.41 kB / 0.6652 GB, free: 11.22 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1884, allocations: 94.54 MB / 0.7575 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.008512/0.1969, allocations: 4.972 MB / 0.7624 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6278/0.8246, allocations: 151.1 MB / 0.9099 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007809/0.8254, allocations: 19.59 kB / 0.9099 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006199/0.8261, allocations: 194.4 kB / 0.9101 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.8281, allocations: 0.5639 MB / 0.9107 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.8303, allocations: 0.8601 MB / 0.9115 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001954/0.8322, allocations: 1.435 MB / 0.9129 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000863/0.8331, allocations: 420.4 kB / 0.9133 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009357/0.834, allocations: 0.5059 MB / 0.9138 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008055/0.8348, allocations: 0.5224 MB / 0.9143 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.835, allocations: 118.5 kB / 0.9144 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.8361, allocations: 489.9 kB / 0.9149 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003293/0.8364, allocations: 307.3 kB / 0.9152 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005943/0.837, allocations: 0.5739 MB / 0.9157 GB, free: 68 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.8393, allocations: 1.672 MB / 0.9174 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8393, allocations: 3.938 kB / 0.9174 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8393, allocations: 0 / 0.9174 GB, free: 14.87 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.416e-05/0.8393, allocations: 4 kB / 0.9174 GB, free: 14.86 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.003196/0.8425, allocations: 1.504 MB / 0.9189 GB, free: 13.68 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.8426, allocations: 7.75 kB / 0.9189 GB, free: 13.68 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/0.8427, allocations: 142 kB / 0.919 GB, free: 13.56 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009701/0.8437, allocations: 195.1 kB / 0.9192 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.8452, allocations: 0.7834 MB / 0.92 GB, free: 12.82 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.8452, allocations: 65.66 kB / 0.92 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.8453, allocations: 88.08 kB / 0.9201 GB, free: 12.76 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.847, allocations: 0.9457 MB / 0.921 GB, free: 12.15 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.847, allocations: 6.75 kB / 0.921 GB, free: 12.15 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/0.8471, allocations: 35.78 kB / 0.9211 GB, free: 12.12 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.8471, allocations: 24.16 kB / 0.9211 GB, free: 12.12 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.8489, allocations: 1.129 MB / 0.9222 GB, free: 11.57 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004914/0.8538, allocations: 2.806 MB / 0.9249 GB, free: 9.305 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.8554, allocations: 0.8535 MB / 0.9258 GB, free: 8.816 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.8559, allocations: 292.3 kB / 0.926 GB, free: 8.66 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.036e-05/0.856, allocations: 36.3 kB / 0.9261 GB, free: 8.641 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009182/0.8569, allocations: 0.5148 MB / 0.9266 GB, free: 8.305 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 2.475e-06/0.8569, allocations: 0 / 0.9266 GB, free: 8.305 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.003588/0.8605, allocations: 1.266 MB / 0.9278 GB, free: 7.617 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.8607, allocations: 191.3 kB / 0.928 GB, free: 7.398 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.8617, allocations: 0.6397 MB / 0.9286 GB, free: 7.027 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.8618, allocations: 46.72 kB / 0.9287 GB, free: 6.98 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/0.8622, allocations: 409.4 kB / 0.9291 GB, free: 6.621 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.8625, allocations: 282.8 kB / 0.9293 GB, free: 6.375 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.8628, allocations: 164.3 kB / 0.9295 GB, free: 6.277 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002484/0.863, allocations: 388.3 kB / 0.9299 GB, free: 5.906 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005322/0.8635, allocations: 259.5 kB / 0.9301 GB, free: 5.777 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/0.8642, allocations: 382.6 kB / 0.9305 GB, free: 5.535 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.8653, allocations: 0.6121 MB / 0.9311 GB, free: 5.199 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.8653, allocations: 0 / 0.9311 GB, free: 5.199 MB / 0.67 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002189/0.8675, allocations: 0.839 MB / 0.9319 GB, free: 4.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.8676, allocations: 5.375 kB / 0.9319 GB, free: 4.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.8676, allocations: 3.938 kB / 0.9319 GB, free: 4.766 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000639/0.8682, allocations: 94.36 kB / 0.932 GB, free: 4.715 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/0.8689, allocations: 162.7 kB / 0.9321 GB, free: 4.672 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/0.8714, allocations: 1.623 MB / 0.9337 GB, free: 3.074 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009297/0.8724, allocations: 96.7 kB / 0.9338 GB, free: 3.012 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.8724, allocations: 31.92 kB / 0.9338 GB, free: 3 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.0006072/0.8731, allocations: 277.8 kB / 0.9341 GB, free: 2.781 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.8732, allocations: 87.97 kB / 0.9342 GB, free: 2.734 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.8758, allocations: 1.134 MB / 0.9353 GB, free: 2.113 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.8758, allocations: 14.34 kB / 0.9353 GB, free: 2.109 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.8758, allocations: 0 / 0.9353 GB, free: 2.109 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.8758, allocations: 7.969 kB / 0.9353 GB, free: 2.102 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/0.8794, allocations: 2.031 MB / 0.9373 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.8794, allocations: 0 / 0.9373 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/0.88, allocations: 159.7 kB / 0.9375 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000438/0.8805, allocations: 70.38 kB / 0.9375 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.385e-05/0.8805, allocations: 26.55 kB / 0.9375 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.8827, allocations: 1.66 MB / 0.9392 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8827, allocations: 64 / 0.9392 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/0.885, allocations: 1.056 MB / 0.9402 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006322/0.8856, allocations: 290.3 kB / 0.9405 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.8857, allocations: 18.06 kB / 0.9405 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006857/0.8864, allocations: 74.89 kB / 0.9406 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.8866, allocations: 72.23 kB / 0.9406 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.55e-05/0.8867, allocations: 41.16 kB / 0.9407 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000688/0.8874, allocations: 471.1 kB / 0.9411 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8874, allocations: 0 / 0.9411 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001131/0.8885, allocations: 342.4 kB / 0.9415 GB, free: 13.51 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.00456/0.8931, allocations: 2.108 MB / 0.9435 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001997/0.8951, allocations: 0.8116 MB / 0.9443 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8951, allocations: 0 / 0.9443 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.8961, allocations: 0.5043 MB / 0.9448 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.8976, allocations: 300.5 kB / 0.9451 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.9097, allocations: 6.431 MB / 0.9514 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/0.9105, allocations: 1.032 MB / 0.9524 GB, free: 2.305 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009521/0.9115, allocations: 274.8 kB / 0.9526 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006548/0.9121, allocations: 399.3 kB / 0.953 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of SimCode: time 1.282e-06/0.9121, allocations: 0 / 0.953 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09273/1.005, allocations: 22.38 MB / 0.9749 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.64, allocations: 2.188 kB / 0.9749 GB, free: 11.56 MB / 0.7169 GB " [Timeout remaining time 645] (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 --stepSize=34.56 --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: 18.88696584897116] Failed to read output from testmodel.py, exit status != 0: 14.844763464294374 14.860893108 14.018293993 Calling exit ...