Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001303/0.001303, allocations: 114 kB / 17.13 MB, free: 5.914 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.001262/0.001262, allocations: 195.7 kB / 20.08 MB, free: 2.977 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.414/1.414, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.8499/0.8499, allocations: 129.2 MB / 432.5 MB, free: 13.09 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.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.83 kB / 0.5987 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4321, allocations: 83.44 MB / 0.6802 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005886/0.438, allocations: 4.94 MB / 0.685 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1817/0.6197, allocations: 151.1 MB / 0.8325 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.6209, allocations: 27.81 kB / 0.8326 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007329/0.6216, allocations: 190.2 kB / 0.8327 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.6239, allocations: 0.5586 MB / 0.8333 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.6266, allocations: 0.8526 MB / 0.8341 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002036/0.6286, allocations: 1.417 MB / 0.8355 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008379/0.6295, allocations: 429.3 kB / 0.8359 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008852/0.6304, allocations: 0.5022 MB / 0.8364 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006879/0.6311, allocations: 0.5174 MB / 0.8369 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.6312, allocations: 119.9 kB / 0.837 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.6323, allocations: 491.5 kB / 0.8375 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003744/0.6327, allocations: 307 kB / 0.8378 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006041/0.6333, allocations: 0.5635 MB / 0.8383 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.6358, allocations: 1.68 MB / 0.84 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.6358, allocations: 0 / 0.84 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.427e-06/0.6358, allocations: 0 / 0.84 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.625e-05/0.6359, allocations: 0 / 0.84 GB, free: 9.754 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003286/0.6392, allocations: 1.5 MB / 0.8414 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.6392, allocations: 12.03 kB / 0.8415 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/0.6394, allocations: 139.5 kB / 0.8416 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009686/0.6404, allocations: 200 kB / 0.8418 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.6417, allocations: 0.7823 MB / 0.8425 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/0.6418, allocations: 66 kB / 0.8426 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.6419, allocations: 84 kB / 0.8427 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.6436, allocations: 0.9379 MB / 0.8436 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.6436, allocations: 3.938 kB / 0.8436 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.6437, allocations: 39.98 kB / 0.8436 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.6437, allocations: 24 kB / 0.8437 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.6456, allocations: 1.12 MB / 0.8448 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004782/0.6504, allocations: 2.794 MB / 0.8475 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.6521, allocations: 0.8602 MB / 0.8483 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000559/0.6527, allocations: 282.7 kB / 0.8486 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.861e-05/0.6528, allocations: 32.69 kB / 0.8486 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009455/0.6537, allocations: 0.5214 MB / 0.8491 GB, free: 52 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=84): time 2.555e-06/0.6537, allocations: 0 / 0.8491 GB, free: 52 kB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.003629/0.6573, allocations: 1.255 MB / 0.8504 GB, free: 14.77 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.6575, allocations: 200.8 kB / 0.8506 GB, free: 14.53 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009574/0.6585, allocations: 0.6449 MB / 0.8512 GB, free: 13.88 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.6586, allocations: 41.7 kB / 0.8512 GB, free: 13.83 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.6589, allocations: 409.1 kB / 0.8516 GB, free: 13.43 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.6592, allocations: 277.7 kB / 0.8519 GB, free: 13.15 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.6595, allocations: 158.6 kB / 0.852 GB, free: 12.99 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.6597, allocations: 382.8 kB / 0.8524 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/0.6602, allocations: 253.9 kB / 0.8526 GB, free: 12.36 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000675/0.6609, allocations: 374.5 kB / 0.853 GB, free: 11.97 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.6621, allocations: 0.6008 MB / 0.8536 GB, free: 11.36 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6621, allocations: 0 / 0.8536 GB, free: 11.36 MB / 0.67 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002204/0.6643, allocations: 0.8335 MB / 0.8544 GB, free: 10.51 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.6643, allocations: 7.938 kB / 0.8544 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.6643, allocations: 4 kB / 0.8544 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/0.6649, allocations: 80.86 kB / 0.8545 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.6656, allocations: 155.8 kB / 0.8546 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.668, allocations: 1.63 MB / 0.8562 GB, free: 8.488 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008692/0.6688, allocations: 95.5 kB / 0.8563 GB, free: 8.395 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.849e-05/0.6689, allocations: 35.97 kB / 0.8563 GB, free: 8.359 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: 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 (91): * Single equations (assignments): 90 * 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.0005327/0.6694, allocations: 270.8 kB / 0.8566 GB, free: 8.086 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.6697, allocations: 91.44 kB / 0.8567 GB, free: 7.996 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.6722, allocations: 1.132 MB / 0.8578 GB, free: 6.844 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.6722, allocations: 12 kB / 0.8578 GB, free: 6.832 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.6722, allocations: 0 / 0.8578 GB, free: 6.832 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.6722, allocations: 11.95 kB / 0.8578 GB, free: 6.82 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/0.6757, allocations: 2.013 MB / 0.8598 GB, free: 4.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6757, allocations: 3.938 kB / 0.8598 GB, free: 4.746 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.6763, allocations: 155.8 kB / 0.8599 GB, free: 4.594 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004316/0.6767, allocations: 68.78 kB / 0.86 GB, free: 4.523 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.409e-05/0.6768, allocations: 31.98 kB / 0.86 GB, free: 4.492 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.6788, allocations: 1.663 MB / 0.8617 GB, free: 2.688 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.6788, allocations: 8.016 kB / 0.8617 GB, free: 2.68 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.681, allocations: 1.049 MB / 0.8627 GB, free: 1.609 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/0.6815, allocations: 284.2 kB / 0.863 GB, free: 1.312 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.6816, allocations: 27.94 kB / 0.863 GB, free: 1.285 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/0.6823, allocations: 67.92 kB / 0.8631 GB, free: 1.219 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.6825, allocations: 72.89 kB / 0.8631 GB, free: 1.148 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.937e-05/0.6826, allocations: 39.97 kB / 0.8632 GB, free: 1.109 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005968/0.6831, allocations: 467 kB / 0.8636 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.6831, allocations: 4 kB / 0.8636 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008832/0.684, allocations: 335.1 kB / 0.8639 GB, free: 332 kB / 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 (99): * Single equations (assignments): 92 * 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.3664/1.05, allocations: 2.084 MB / 0.866 GB, free: 175.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001763/1.052, allocations: 0.8128 MB / 0.8668 GB, free: 175.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.052, allocations: 1.125 kB / 0.8668 GB, free: 175.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009159/1.053, allocations: 0.5038 MB / 0.8673 GB, free: 174.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/1.054, allocations: 311.8 kB / 0.8676 GB, free: 174.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/1.066, allocations: 6.408 MB / 0.8738 GB, free: 171.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007548/1.066, allocations: 1.035 MB / 0.8748 GB, free: 170.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00111/1.067, allocations: 262.5 kB / 0.8751 GB, free: 170.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/1.068, allocations: 415.5 kB / 0.8755 GB, free: 170.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.563e-06/1.068, allocations: 0 / 0.8755 GB, free: 170.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06088/1.129, allocations: 22.36 MB / 0.8973 GB, free: 158.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.44, allocations: 12.2 kB / 0.8973 GB, free: 158.6 MB / 0.67 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.013499482069165] Failed to read output from testmodel.py, exit status != 0: 14.645184216089547 14.660868554 14.021649064 Calling exit ...