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.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.001308/0.001308, allocations: 104.3 kB / 19.7 MB, free: 1.941 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.002312/0.002312, allocations: 219.1 kB / 22.99 MB, free: 4.969 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.446/1.446, 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 1.06/1.06, allocations: 149.9 MB / 463 MB, free: 10.36 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.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: 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.002069/0.002069, allocations: 70.02 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2165, allocations: 89.18 MB / 0.7281 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007208/0.2237, allocations: 4.34 MB / 0.7324 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5167/0.7404, allocations: 132.7 MB / 0.862 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.7414, allocations: 19.81 kB / 0.862 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006466/0.7421, allocations: 197.1 kB / 0.8622 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.7439, allocations: 0.561 MB / 0.8627 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.7459, allocations: 0.858 MB / 0.8635 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001724/0.7477, allocations: 1.39 MB / 0.8649 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007354/0.7484, allocations: 377.9 kB / 0.8653 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007766/0.7492, allocations: 0.5016 MB / 0.8658 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006258/0.7498, allocations: 453.8 kB / 0.8662 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.75, allocations: 116 kB / 0.8663 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009821/0.751, allocations: 498.6 kB / 0.8668 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.7513, allocations: 295 kB / 0.8671 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004761/0.7517, allocations: 461.8 kB / 0.8675 GB, free: 6.5 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.754, allocations: 1.679 MB / 0.8691 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.754, allocations: 0 / 0.8691 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.373e-06/0.754, allocations: 0 / 0.8691 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.7541, allocations: 0 / 0.8691 GB, free: 4.82 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002549/0.7566, allocations: 1.399 MB / 0.8705 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.7567, allocations: 8.031 kB / 0.8705 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.7568, allocations: 135.3 kB / 0.8706 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.7584, allocations: 232 kB / 0.8709 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.7598, allocations: 0.7114 MB / 0.8716 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.348e-05/0.7599, allocations: 61.98 kB / 0.8716 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.76, allocations: 84 kB / 0.8717 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.7618, allocations: 1.154 MB / 0.8728 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.7618, allocations: 0 / 0.8728 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/0.7619, allocations: 36 kB / 0.8729 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.7619, allocations: 20 kB / 0.8729 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.7638, allocations: 1.054 MB / 0.8739 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004112/0.7679, allocations: 2.197 MB / 0.876 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.7695, allocations: 0.7409 MB / 0.8768 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/0.7701, allocations: 270.7 kB / 0.877 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.983e-05/0.7702, allocations: 28.64 kB / 0.8771 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009829/0.7712, allocations: 0.5844 MB / 0.8776 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=79): time 2.365e-06/0.7712, allocations: 0 / 0.8776 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79): time 0.003303/0.7745, allocations: 1.115 MB / 0.8787 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.7746, allocations: 196.3 kB / 0.8789 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009345/0.7755, allocations: 0.645 MB / 0.8795 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.78e-05/0.7756, allocations: 41.7 kB / 0.8796 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/0.776, allocations: 401 kB / 0.88 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.7762, allocations: 265.7 kB / 0.8802 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.7765, allocations: 146.6 kB / 0.8803 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002345/0.7767, allocations: 394.7 kB / 0.8807 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/0.7772, allocations: 241.9 kB / 0.881 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006957/0.7779, allocations: 487.6 kB / 0.8814 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.779, allocations: 0.5799 MB / 0.882 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.779, allocations: 0 / 0.882 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001952/0.781, allocations: 0.7868 MB / 0.8828 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.781, allocations: 8 kB / 0.8828 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.781, allocations: 0.6875 kB / 0.8828 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.7816, allocations: 92.78 kB / 0.8828 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.7823, allocations: 147.8 kB / 0.883 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.7846, allocations: 1.513 MB / 0.8845 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007236/0.7854, allocations: 91.53 kB / 0.8846 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.7854, allocations: 35.92 kB / 0.8846 GB, free: 4.426 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.0004914/0.7859, allocations: 261.9 kB / 0.8848 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.7861, allocations: 96.67 kB / 0.8849 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/0.7886, allocations: 1.051 MB / 0.886 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.7886, allocations: 8 kB / 0.886 GB, free: 3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.7886, allocations: 0 / 0.886 GB, free: 3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.7886, allocations: 3.984 kB / 0.886 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/0.792, allocations: 1.778 MB / 0.8877 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.792, allocations: 0 / 0.8877 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005969/0.7926, allocations: 144.7 kB / 0.8878 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/0.7931, allocations: 68.8 kB / 0.8879 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/0.7931, allocations: 31.91 kB / 0.8879 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.7951, allocations: 1.548 MB / 0.8895 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.7952, allocations: 3.938 kB / 0.8895 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.7973, allocations: 0.9945 MB / 0.8904 GB, free: 14.24 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/0.7978, allocations: 206.8 kB / 0.8906 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.7979, allocations: 20 kB / 0.8906 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006378/0.7985, allocations: 70.42 kB / 0.8907 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.7987, allocations: 68.86 kB / 0.8908 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.206e-05/0.7988, allocations: 35.98 kB / 0.8908 GB, free: 13.85 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006397/0.7994, allocations: 471 kB / 0.8913 GB, free: 13.39 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.7994, allocations: 0 / 0.8913 GB, free: 13.39 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008846/0.8003, allocations: 315.2 kB / 0.8916 GB, free: 13.08 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.004444/0.8047, allocations: 2.079 MB / 0.8936 GB, free: 11.22 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001764/0.8065, allocations: 0.7687 MB / 0.8943 GB, free: 10.44 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8065, allocations: 0 / 0.8943 GB, free: 10.44 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009927/0.8075, allocations: 488.4 kB / 0.8948 GB, free: 9.957 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.8089, allocations: 312.7 kB / 0.8951 GB, free: 9.676 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.8201, allocations: 6.227 MB / 0.9012 GB, free: 3.297 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.8206, allocations: 438.8 kB / 0.9016 GB, free: 2.836 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008647/0.8215, allocations: 262.7 kB / 0.9019 GB, free: 2.574 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005876/0.8221, allocations: 387.3 kB / 0.9022 GB, free: 2.195 MB / 0.67 GB Notification: Performance of SimCode: time 1.153e-06/0.8221, allocations: 0 / 0.9022 GB, free: 2.195 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06712/0.8892, allocations: 23.21 MB / 0.9249 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.79, allocations: 2.094 kB / 0.9249 GB, free: 11.27 MB / 0.7012 GB " [Timeout remaining time 645] (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: 18.905844351742417] Failed to read output from testmodel.py, exit status != 0: 15.032440064009279 15.051519558 14.293864845 Calling exit ...