Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 210.1 kB / 22.99 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.953/0.953, allocations: 149.9 MB / 463 MB, free: 10.37 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 71.73 kB / 0.641 GB, free: 10.19 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2035, allocations: 89.18 MB / 0.7281 GB, free: 1.086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007052/0.2105, allocations: 4.369 MB / 0.7324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5103/0.7208, allocations: 132.7 MB / 0.862 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.7218, allocations: 23.81 kB / 0.862 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008894/0.7227, allocations: 190.2 kB / 0.8622 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.7249, allocations: 0.5649 MB / 0.8627 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.7272, allocations: 0.8615 MB / 0.8636 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001895/0.7291, allocations: 1.406 MB / 0.8649 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008021/0.7299, allocations: 385.8 kB / 0.8653 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008007/0.7307, allocations: 0.5101 MB / 0.8658 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006512/0.7314, allocations: 467.7 kB / 0.8663 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.7316, allocations: 120 kB / 0.8664 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.7326, allocations: 496.5 kB / 0.8668 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.7329, allocations: 307 kB / 0.8671 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.7334, allocations: 465.8 kB / 0.8676 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.7356, allocations: 1.706 MB / 0.8693 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7356, allocations: 0 / 0.8693 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7357, allocations: 0 / 0.8693 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.77e-05/0.7357, allocations: 4 kB / 0.8693 GB, free: 4.898 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003034/0.7387, allocations: 1.415 MB / 0.8706 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.7388, allocations: 9.344 kB / 0.8706 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/0.739, allocations: 131.4 kB / 0.8708 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.7407, allocations: 243.9 kB / 0.871 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.7421, allocations: 0.7153 MB / 0.8717 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/0.7422, allocations: 62 kB / 0.8718 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.7423, allocations: 80 kB / 0.8718 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.7445, allocations: 1.173 MB / 0.873 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.7445, allocations: 0 / 0.873 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-05/0.7446, allocations: 43.98 kB / 0.873 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.7446, allocations: 20 kB / 0.873 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.7465, allocations: 1.065 MB / 0.8741 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004433/0.7509, allocations: 2.233 MB / 0.8763 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.7525, allocations: 0.7742 MB / 0.877 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005631/0.7531, allocations: 278.6 kB / 0.8773 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-05/0.7532, allocations: 28.62 kB / 0.8773 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009725/0.7542, allocations: 0.5849 MB / 0.8779 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=79): time 2.725e-06/0.7542, allocations: 0 / 0.8779 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79): time 0.00332/0.7575, allocations: 1.119 MB / 0.879 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.7576, allocations: 196.6 kB / 0.8792 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.7587, allocations: 0.6489 MB / 0.8798 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/0.7587, allocations: 45.7 kB / 0.8798 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/0.7592, allocations: 409 kB / 0.8802 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.7595, allocations: 265.7 kB / 0.8805 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.7597, allocations: 146.6 kB / 0.8806 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.76, allocations: 390.7 kB / 0.881 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005389/0.7605, allocations: 249.9 kB / 0.8812 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007489/0.7613, allocations: 487 kB / 0.8817 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.7624, allocations: 0.5877 MB / 0.8823 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7624, allocations: 0 / 0.8823 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002008/0.7644, allocations: 0.799 MB / 0.8831 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.7644, allocations: 7.984 kB / 0.8831 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.7644, allocations: 1.312 kB / 0.8831 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/0.7651, allocations: 80.88 kB / 0.8831 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.7657, allocations: 155.7 kB / 0.8833 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.7679, allocations: 1.541 MB / 0.8848 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.7686, allocations: 88.28 kB / 0.8849 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-05/0.7687, allocations: 27.98 kB / 0.8849 GB, free: 4.309 MB / 0.6544 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.0004499/0.7691, allocations: 269.6 kB / 0.8852 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.7693, allocations: 87.44 kB / 0.8852 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.7717, allocations: 1.063 MB / 0.8863 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.7717, allocations: 12 kB / 0.8863 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7717, allocations: 3.938 kB / 0.8863 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.7717, allocations: 7.969 kB / 0.8863 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003393/0.7751, allocations: 1.81 MB / 0.8881 GB, free: 1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.7751, allocations: 1.125 kB / 0.8881 GB, free: 1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/0.7757, allocations: 143.8 kB / 0.8882 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004406/0.7761, allocations: 76.77 kB / 0.8883 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.455e-05/0.7762, allocations: 27.98 kB / 0.8883 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.7782, allocations: 1.565 MB / 0.8898 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7782, allocations: 0 / 0.8898 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.7804, allocations: 1.002 MB / 0.8908 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/0.7809, allocations: 203.1 kB / 0.891 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.781, allocations: 19.98 kB / 0.891 GB, free: 13.83 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006219/0.7816, allocations: 63.94 kB / 0.8911 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.7817, allocations: 76.86 kB / 0.8912 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.578e-05/0.7818, allocations: 27.98 kB / 0.8912 GB, free: 13.66 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006663/0.7825, allocations: 483 kB / 0.8917 GB, free: 13.19 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.7825, allocations: 0 / 0.8917 GB, free: 13.19 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008736/0.7834, allocations: 319.1 kB / 0.892 GB, free: 12.88 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.004379/0.7877, allocations: 2.088 MB / 0.894 GB, free: 11 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001855/0.7896, allocations: 0.7726 MB / 0.8948 GB, free: 10.22 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7896, allocations: 0 / 0.8948 GB, free: 10.22 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009914/0.7906, allocations: 0.4887 MB / 0.8952 GB, free: 9.723 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.7919, allocations: 308 kB / 0.8955 GB, free: 9.445 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.8041, allocations: 6.286 MB / 0.9017 GB, free: 3.012 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.8046, allocations: 435.8 kB / 0.9021 GB, free: 2.555 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009466/0.8056, allocations: 258.7 kB / 0.9023 GB, free: 2.297 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006081/0.8062, allocations: 379.3 kB / 0.9027 GB, free: 1.926 MB / 0.67 GB Notification: Performance of SimCode: time 1.453e-06/0.8062, allocations: 0 / 0.9027 GB, free: 1.926 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06494/0.8711, allocations: 23.49 MB / 0.9256 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.69, allocations: 0 / 0.9256 GB, free: 10.72 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.59388855099678] Failed to read output from testmodel.py, exit status != 0: 14.928878183942288 14.945355696 14.206315829 Calling exit ...