Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.001558/0.001558, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001334/0.001334, allocations: 192.7 kB / 20.08 MB, free: 2.988 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.43/1.43, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9126/0.9126, allocations: 129.2 MB / 432.5 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 79.81 kB / 0.5987 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4353, allocations: 83.44 MB / 0.6802 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005945/0.4412, allocations: 5.023 MB / 0.6851 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1984/0.6396, allocations: 151.2 MB / 0.8327 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.6408, allocations: 15.94 kB / 0.8327 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000893/0.6417, allocations: 198.1 kB / 0.8329 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.6439, allocations: 0.5705 MB / 0.8335 GB, free: 428 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.6464, allocations: 0.8775 MB / 0.8343 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002045/0.6484, allocations: 1.471 MB / 0.8358 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008304/0.6493, allocations: 441 kB / 0.8362 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007666/0.65, allocations: 0.5139 MB / 0.8367 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006841/0.6507, allocations: 0.5407 MB / 0.8372 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.6509, allocations: 120 kB / 0.8373 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.652, allocations: 0.5113 MB / 0.8378 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.6523, allocations: 315 kB / 0.8381 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005652/0.6528, allocations: 0.5868 MB / 0.8387 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.6551, allocations: 1.73 MB / 0.8404 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6551, allocations: 0 / 0.8404 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6551, allocations: 4 kB / 0.8404 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.435e-05/0.6551, allocations: 0 / 0.8404 GB, free: 9.289 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003308/0.6584, allocations: 1.543 MB / 0.8419 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.6585, allocations: 12.03 kB / 0.8419 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.6587, allocations: 139.8 kB / 0.8421 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009703/0.6596, allocations: 200 kB / 0.8423 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.661, allocations: 0.7901 MB / 0.843 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.368e-05/0.6611, allocations: 66 kB / 0.8431 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.6612, allocations: 91.98 kB / 0.8432 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.6631, allocations: 0.9769 MB / 0.8441 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.6631, allocations: 4 kB / 0.8441 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.156e-05/0.6632, allocations: 36 kB / 0.8442 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.6632, allocations: 24 kB / 0.8442 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.6652, allocations: 1.155 MB / 0.8453 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004925/0.6701, allocations: 2.942 MB / 0.8482 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.6723, allocations: 0.9302 MB / 0.8491 GB, free: 84 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/0.6729, allocations: 290.7 kB / 0.8494 GB, free: 15.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.793e-05/0.6729, allocations: 38.73 kB / 0.8494 GB, free: 15.76 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009476/0.6739, allocations: 0.5431 MB / 0.8499 GB, free: 15.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=88): time 2.254e-06/0.6739, allocations: 0 / 0.8499 GB, free: 15.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=88): time 0.003415/0.6773, allocations: 1.306 MB / 0.8512 GB, free: 13.87 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.6774, allocations: 188.9 kB / 0.8514 GB, free: 13.64 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009093/0.6783, allocations: 0.6529 MB / 0.852 GB, free: 12.98 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.842e-05/0.6784, allocations: 45.64 kB / 0.8521 GB, free: 12.93 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.6788, allocations: 413.1 kB / 0.8525 GB, free: 12.52 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/0.6791, allocations: 297.5 kB / 0.8528 GB, free: 12.22 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.6793, allocations: 166.5 kB / 0.8529 GB, free: 12.05 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.6795, allocations: 394.8 kB / 0.8533 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/0.6801, allocations: 265.9 kB / 0.8535 GB, free: 11.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006876/0.6808, allocations: 386.5 kB / 0.8539 GB, free: 11 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.682, allocations: 0.632 MB / 0.8545 GB, free: 10.36 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.682, allocations: 64 / 0.8545 GB, free: 10.36 MB / 0.67 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002221/0.6842, allocations: 0.8726 MB / 0.8554 GB, free: 9.469 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.6842, allocations: 4 kB / 0.8554 GB, free: 9.465 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6842, allocations: 96 / 0.8554 GB, free: 9.465 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/0.6848, allocations: 80.77 kB / 0.8555 GB, free: 9.383 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000712/0.6856, allocations: 179.6 kB / 0.8556 GB, free: 9.207 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.6879, allocations: 1.626 MB / 0.8572 GB, free: 7.438 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008859/0.6888, allocations: 103.5 kB / 0.8573 GB, free: 7.336 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/0.6888, allocations: 35.97 kB / 0.8574 GB, free: 7.301 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: 19 (solAzi.outsidePolarCircle,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 (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.0005131/0.6893, allocations: 271.4 kB / 0.8576 GB, free: 7.027 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.6895, allocations: 95.58 kB / 0.8577 GB, free: 6.934 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/0.6922, allocations: 1.191 MB / 0.8589 GB, free: 5.723 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.6922, allocations: 12 kB / 0.8589 GB, free: 5.711 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.6922, allocations: 0 / 0.8589 GB, free: 5.711 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.6922, allocations: 3.984 kB / 0.8589 GB, free: 5.707 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003726/0.696, allocations: 2.103 MB / 0.8609 GB, free: 3.547 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.696, allocations: 4 kB / 0.8609 GB, free: 3.543 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007094/0.6967, allocations: 163.8 kB / 0.8611 GB, free: 3.383 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/0.6971, allocations: 72.78 kB / 0.8612 GB, free: 3.309 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-05/0.6972, allocations: 31.98 kB / 0.8612 GB, free: 3.277 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.6994, allocations: 1.663 MB / 0.8628 GB, free: 1.473 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6994, allocations: 0 / 0.8628 GB, free: 1.473 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.7019, allocations: 1.092 MB / 0.8639 GB, free: 368 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000574/0.7025, allocations: 296.1 kB / 0.8642 GB, free: 52 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.7027, allocations: 20 kB / 0.8642 GB, free: 32 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.302/1.005, allocations: 70.84 kB / 0.8643 GB, free: 175.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/1.005, allocations: 84.25 kB / 0.8643 GB, free: 175.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.005, allocations: 40.61 kB / 0.8644 GB, free: 175.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006825/1.006, allocations: 475 kB / 0.8648 GB, free: 175.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.006, allocations: 1 kB / 0.8648 GB, free: 175.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001003/1.007, allocations: 349.7 kB / 0.8652 GB, free: 175.8 MB / 0.67 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 (106): * Single equations (assignments): 99 * 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.004098/1.011, allocations: 2.167 MB / 0.8673 GB, free: 175 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001778/1.013, allocations: 0.8374 MB / 0.8681 GB, free: 174.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.013, allocations: 3.781 kB / 0.8681 GB, free: 174.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009458/1.014, allocations: 0.5314 MB / 0.8686 GB, free: 174.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/1.015, allocations: 306.7 kB / 0.8689 GB, free: 174.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/1.026, allocations: 6.592 MB / 0.8754 GB, free: 171.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/1.026, allocations: 1.045 MB / 0.8764 GB, free: 170.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009201/1.027, allocations: 272.6 kB / 0.8766 GB, free: 170.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000463/1.028, allocations: 414.3 kB / 0.877 GB, free: 170.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.142e-06/1.028, allocations: 0 / 0.877 GB, free: 170.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05456/1.082, allocations: 23.05 MB / 0.8995 GB, free: 156.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.55, allocations: 3.75 kB / 0.8995 GB, free: 156.5 MB / 0.67 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.20315536810085] Failed to read output from testmodel.py, exit status != 0: 14.758551359176636 14.767481878 14.110174101 Calling exit ...