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.001687/0.001687, allocations: 100.4 kB / 19.7 MB, free: 2.066 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.001978/0.001978, allocations: 207.5 kB / 22.99 MB, free: 4.883 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.035/1.035, allocations: 149.9 MB / 463 MB, free: 10.32 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.002093/0.002093, allocations: 70.16 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.209, allocations: 89.18 MB / 0.7282 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006851/0.2159, allocations: 4.34 MB / 0.7324 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5739/0.7897, allocations: 132.7 MB / 0.8619 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000978/0.7907, allocations: 23.81 kB / 0.862 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006604/0.7914, allocations: 197.1 kB / 0.8622 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.7936, allocations: 0.5606 MB / 0.8627 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.7957, allocations: 0.8565 MB / 0.8635 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001813/0.7975, allocations: 1.391 MB / 0.8649 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007586/0.7983, allocations: 384.9 kB / 0.8653 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007997/0.7991, allocations: 0.4905 MB / 0.8657 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006608/0.7997, allocations: 457.8 kB / 0.8662 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.7999, allocations: 116 kB / 0.8663 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.8012, allocations: 487.6 kB / 0.8668 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003232/0.8015, allocations: 311 kB / 0.8671 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000505/0.802, allocations: 465.7 kB / 0.8675 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.8043, allocations: 1.667 MB / 0.8691 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.8043, allocations: 0 / 0.8691 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8043, allocations: 3.938 kB / 0.8691 GB, free: 5 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.8043, allocations: 0 / 0.8691 GB, free: 5 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.002702/0.807, allocations: 1.396 MB / 0.8705 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.8071, allocations: 12.03 kB / 0.8705 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/0.8072, allocations: 131.3 kB / 0.8706 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.8087, allocations: 232 kB / 0.8709 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.8102, allocations: 0.7074 MB / 0.8715 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/0.8102, allocations: 70 kB / 0.8716 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.8104, allocations: 76.56 kB / 0.8717 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.8122, allocations: 1.158 MB / 0.8728 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.8122, allocations: 4.562 kB / 0.8728 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.579e-05/0.8123, allocations: 39.98 kB / 0.8729 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.8123, allocations: 23.94 kB / 0.8729 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.8141, allocations: 1.047 MB / 0.8739 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004056/0.8182, allocations: 2.191 MB / 0.876 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.8197, allocations: 0.737 MB / 0.8768 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005611/0.8203, allocations: 283.4 kB / 0.877 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.318e-05/0.8204, allocations: 28.62 kB / 0.8771 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009628/0.8213, allocations: 0.5805 MB / 0.8776 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=79): time 3.156e-06/0.8213, allocations: 0 / 0.8776 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79): time 0.003287/0.8246, allocations: 1.111 MB / 0.8787 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.8247, allocations: 192.6 kB / 0.8789 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008935/0.8256, allocations: 0.6473 MB / 0.8795 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.8257, allocations: 45.7 kB / 0.8796 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.8261, allocations: 401 kB / 0.88 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.8263, allocations: 273.7 kB / 0.8802 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.8266, allocations: 146.6 kB / 0.8804 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002269/0.8268, allocations: 390.7 kB / 0.8807 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005231/0.8273, allocations: 241.9 kB / 0.881 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007245/0.828, allocations: 487 kB / 0.8814 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.8292, allocations: 0.576 MB / 0.882 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.8292, allocations: 1.125 kB / 0.882 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001988/0.8312, allocations: 0.7984 MB / 0.8828 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.8312, allocations: 4 kB / 0.8828 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.8312, allocations: 0 / 0.8828 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/0.8318, allocations: 84.86 kB / 0.8829 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006281/0.8325, allocations: 147.8 kB / 0.883 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.8347, allocations: 1.512 MB / 0.8845 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006849/0.8354, allocations: 94.75 kB / 0.8846 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.8355, allocations: 32.16 kB / 0.8846 GB, free: 4.609 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.0005008/0.836, allocations: 261.7 kB / 0.8848 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.8362, allocations: 92.31 kB / 0.8849 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.8386, allocations: 1.057 MB / 0.886 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.8386, allocations: 8 kB / 0.886 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.8386, allocations: 0 / 0.886 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.8386, allocations: 3.984 kB / 0.886 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/0.8421, allocations: 1.782 MB / 0.8877 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.8421, allocations: 0 / 0.8877 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.8426, allocations: 139.8 kB / 0.8878 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004334/0.8431, allocations: 72.78 kB / 0.8879 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/0.8431, allocations: 23.98 kB / 0.8879 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.8453, allocations: 1.555 MB / 0.8895 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.8453, allocations: 3.938 kB / 0.8895 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.8476, allocations: 0.9868 MB / 0.8904 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006061/0.8482, allocations: 207 kB / 0.8906 GB, free: 14.22 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.8483, allocations: 19.94 kB / 0.8906 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006518/0.849, allocations: 68 kB / 0.8907 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.8491, allocations: 72.86 kB / 0.8908 GB, free: 14.06 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-05/0.8492, allocations: 35.97 kB / 0.8908 GB, free: 14.03 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007088/0.8499, allocations: 471 kB / 0.8913 GB, free: 13.57 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8499, allocations: 0 / 0.8913 GB, free: 13.57 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009566/0.8509, allocations: 323.1 kB / 0.8916 GB, free: 13.25 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.004743/0.8556, allocations: 2.078 MB / 0.8936 GB, free: 11.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001872/0.8575, allocations: 0.7648 MB / 0.8943 GB, free: 10.62 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8575, allocations: 4 kB / 0.8943 GB, free: 10.62 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.8585, allocations: 496.4 kB / 0.8948 GB, free: 10.12 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.8599, allocations: 302.7 kB / 0.8951 GB, free: 9.855 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.8725, allocations: 6.224 MB / 0.9012 GB, free: 3.48 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/0.8731, allocations: 434.8 kB / 0.9016 GB, free: 3.023 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001033/0.8741, allocations: 266.7 kB / 0.9019 GB, free: 2.758 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007934/0.8749, allocations: 387.3 kB / 0.9022 GB, free: 2.379 MB / 0.67 GB Notification: Performance of SimCode: time 1.523e-06/0.8749, allocations: 0 / 0.9022 GB, free: 2.379 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07595/0.9509, allocations: 23.22 MB / 0.9249 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.67, allocations: 12 kB / 0.9249 GB, free: 11.44 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.89307018602267] Failed to read output from testmodel.py, exit status != 0: 14.90485961176455 14.938442562 14.127753476 Calling exit ...