Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001584/0.001584, 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.001806/0.001806, 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.493/1.493, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.8739/0.8739, allocations: 129.2 MB / 432.5 MB, free: 13.21 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.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.91 kB / 0.5987 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4288, allocations: 83.44 MB / 0.6802 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005526/0.4343, allocations: 4.808 MB / 0.6849 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1881/0.6224, allocations: 151.1 MB / 0.8324 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.6237, allocations: 15.94 kB / 0.8324 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000673/0.6243, allocations: 190.2 kB / 0.8326 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.6269, allocations: 0.5392 MB / 0.8331 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.6294, allocations: 0.8288 MB / 0.8339 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002267/0.6317, allocations: 1.359 MB / 0.8352 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000861/0.6325, allocations: 418.3 kB / 0.8356 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009262/0.6334, allocations: 482.4 kB / 0.8361 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007993/0.6342, allocations: 0.49 MB / 0.8366 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.6344, allocations: 116 kB / 0.8367 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.6355, allocations: 487.6 kB / 0.8371 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.6358, allocations: 295 kB / 0.8374 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005552/0.6363, allocations: 0.5519 MB / 0.838 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.6386, allocations: 1.614 MB / 0.8395 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.6386, allocations: 3.984 kB / 0.8395 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6386, allocations: 0 / 0.8395 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.601e-05/0.6387, allocations: 0 / 0.8395 GB, free: 10.17 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002729/0.6414, allocations: 1.452 MB / 0.841 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.6414, allocations: 12.03 kB / 0.841 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.6416, allocations: 131.3 kB / 0.8411 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009014/0.6425, allocations: 192.1 kB / 0.8413 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.6438, allocations: 0.7621 MB / 0.842 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.458e-05/0.6438, allocations: 62 kB / 0.8421 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.644, allocations: 80 kB / 0.8422 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.6455, allocations: 0.8989 MB / 0.843 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.6455, allocations: 4 kB / 0.843 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.907e-05/0.6456, allocations: 39.98 kB / 0.8431 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.6456, allocations: 24 kB / 0.8431 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.6474, allocations: 1.096 MB / 0.8442 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004117/0.6515, allocations: 2.697 MB / 0.8468 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.653, allocations: 0.8217 MB / 0.8476 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.6536, allocations: 274.7 kB / 0.8479 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.505e-05/0.6536, allocations: 36.48 kB / 0.8479 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008846/0.6545, allocations: 499.8 kB / 0.8484 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=79): time 2.074e-06/0.6545, allocations: 0 / 0.8484 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79): time 0.003234/0.6578, allocations: 1.187 MB / 0.8495 GB, free: 15.58 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.6579, allocations: 188.6 kB / 0.8497 GB, free: 15.35 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/0.6588, allocations: 0.6214 MB / 0.8503 GB, free: 14.72 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.98e-05/0.6589, allocations: 37.7 kB / 0.8504 GB, free: 14.68 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/0.6592, allocations: 401 kB / 0.8507 GB, free: 14.28 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.6595, allocations: 269.8 kB / 0.851 GB, free: 14.01 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.6597, allocations: 150.5 kB / 0.8511 GB, free: 13.86 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.6599, allocations: 386.5 kB / 0.8515 GB, free: 13.48 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/0.6604, allocations: 241.9 kB / 0.8517 GB, free: 13.24 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006161/0.661, allocations: 358.5 kB / 0.8521 GB, free: 12.86 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.6621, allocations: 0.5683 MB / 0.8526 GB, free: 12.29 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6621, allocations: 4 kB / 0.8526 GB, free: 12.28 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001882/0.664, allocations: 0.7945 MB / 0.8534 GB, free: 11.47 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.664, allocations: 4 kB / 0.8534 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.664, allocations: 0 / 0.8534 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/0.6646, allocations: 84.86 kB / 0.8535 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/0.6652, allocations: 151.7 kB / 0.8536 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.6675, allocations: 1.627 MB / 0.8552 GB, free: 9.465 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/0.6681, allocations: 97.73 kB / 0.8553 GB, free: 9.371 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.6682, allocations: 31.98 kB / 0.8554 GB, free: 9.34 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: 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 (85): * Single equations (assignments): 84 * 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.0004231/0.6686, allocations: 262.3 kB / 0.8556 GB, free: 9.074 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.6688, allocations: 87.47 kB / 0.8557 GB, free: 8.988 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.6712, allocations: 1.042 MB / 0.8567 GB, free: 7.934 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.6712, allocations: 12 kB / 0.8567 GB, free: 7.922 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.6712, allocations: 7.938 kB / 0.8567 GB, free: 7.914 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.6712, allocations: 3.984 kB / 0.8567 GB, free: 7.91 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.6745, allocations: 1.912 MB / 0.8586 GB, free: 5.938 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.6745, allocations: 4 kB / 0.8586 GB, free: 5.934 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/0.6751, allocations: 139.8 kB / 0.8587 GB, free: 5.797 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004479/0.6755, allocations: 76.77 kB / 0.8588 GB, free: 5.719 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.6756, allocations: 23.98 kB / 0.8588 GB, free: 5.695 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/0.6778, allocations: 1.663 MB / 0.8605 GB, free: 3.887 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6778, allocations: 0 / 0.8605 GB, free: 3.887 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.6799, allocations: 0.9868 MB / 0.8614 GB, free: 2.879 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/0.6804, allocations: 268.2 kB / 0.8617 GB, free: 2.598 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.6805, allocations: 19.98 kB / 0.8617 GB, free: 2.578 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/0.6811, allocations: 67.88 kB / 0.8618 GB, free: 2.512 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.6813, allocations: 72.89 kB / 0.8618 GB, free: 2.441 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.158e-05/0.6814, allocations: 31.98 kB / 0.8619 GB, free: 2.41 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006232/0.682, allocations: 455 kB / 0.8623 GB, free: 1.973 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.682, allocations: 0 / 0.8623 GB, free: 1.973 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008351/0.6828, allocations: 315.1 kB / 0.8626 GB, free: 1.664 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: 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.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 (90): * Single equations (assignments): 84 * 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.3314/1.014, allocations: 2.06 MB / 0.8646 GB, free: 176.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001993/1.016, allocations: 0.7605 MB / 0.8653 GB, free: 176.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.016, allocations: 0 / 0.8653 GB, free: 176.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009103/1.017, allocations: 489.2 kB / 0.8658 GB, free: 176.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/1.019, allocations: 295.9 kB / 0.8661 GB, free: 176.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/1.029, allocations: 6.167 MB / 0.8721 GB, free: 173 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/1.03, allocations: 1.02 MB / 0.8731 GB, free: 172.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009366/1.031, allocations: 258.2 kB / 0.8734 GB, free: 172.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000479/1.031, allocations: 374.9 kB / 0.8737 GB, free: 172 MB / 0.67 GB Notification: Performance of SimCode: time 9.62e-07/1.031, allocations: 4.625 kB / 0.8737 GB, free: 172 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06124/1.092, allocations: 21.41 MB / 0.8946 GB, free: 161.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.18, allocations: 11.91 kB / 0.8946 GB, free: 161.5 MB / 0.67 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.86942615918815] Failed to read output from testmodel.py, exit status != 0: 14.38419252121821 14.402776191 13.760459705 Calling exit ...