Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.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.0007182/0.0007182, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.001188/0.001188, allocations: 173.9 kB / 23.21 MB, free: 1.336 MB / 18.57 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 0.882/0.882, allocations: 177.1 MB / 203.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.5473/0.5473, allocations: 114 MB / 373.9 MB, free: 8.609 MB / 346.7 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.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.5543 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.739e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Acos): time 0.00116/0.001177, allocations: 0.6563 MB / 0.5549 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008804/0.002057, allocations: 0.8432 MB / 0.5557 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.002088, allocations: 0 / 0.5557 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.002113, allocations: 0 / 0.5557 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.675e-05/0.002169, allocations: 3.938 kB / 0.5557 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.002346, allocations: 19.86 kB / 0.5557 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.159e-05/0.002408, allocations: 27.92 kB / 0.5558 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.002501, allocations: 0 / 0.5558 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.804e-05/0.002569, allocations: 15.98 kB / 0.5558 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.417e-05/0.002603, allocations: 11.98 kB / 0.5558 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.002617, allocations: 4 kB / 0.5558 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.04e-05/0.002658, allocations: 7.984 kB / 0.5558 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.00267, allocations: 4 kB / 0.5558 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.002687, allocations: 3.938 kB / 0.5558 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.261e-05/0.002779, allocations: 27.95 kB / 0.5558 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.002781, allocations: 0 / 0.5558 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.242e-06/0.002783, allocations: 0 / 0.5558 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.002786, allocations: 0 / 0.5558 GB, free: 1.09 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003236/0.00311, allocations: 270.3 kB / 0.5561 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.003148, allocations: 12.56 kB / 0.5561 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.673e-05/0.003175, allocations: 38.73 kB / 0.5562 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.003235, allocations: 4.938 kB / 0.5562 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.261e-05/0.003307, allocations: 109.8 kB / 0.5563 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.003317, allocations: 384 / 0.5563 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.003326, allocations: 4.375 kB / 0.5563 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.003443, allocations: 46.23 kB / 0.5563 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.00345, allocations: 192 / 0.5563 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.003459, allocations: 4.375 kB / 0.5563 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.003464, allocations: 8.125 kB / 0.5563 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.566e-05/0.00355, allocations: 35.95 kB / 0.5564 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.003796, allocations: 211.9 kB / 0.5566 GB, free: 252 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.004049, allocations: 38.59 kB / 0.5566 GB, free: 204 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/0.004094, allocations: 24.91 kB / 0.5566 GB, free: 176 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.004112, allocations: 0 / 0.5566 GB, free: 176 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.00413, allocations: 38.5 kB / 0.5567 GB, free: 128 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.00413, allocations: 0 / 0.5567 GB, free: 128 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002112/0.004342, allocations: 89.53 kB / 0.5567 GB, free: 32 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.00438, allocations: 55.34 kB / 0.5568 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.424e-05/0.004434, allocations: 105.8 kB / 0.5569 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.004442, allocations: 25.7 kB / 0.5569 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.004473, allocations: 80.14 kB / 0.557 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.004487, allocations: 4.078 kB / 0.557 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.004511, allocations: 21.72 kB / 0.557 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.004614, allocations: 310.8 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.855e-05/0.004653, allocations: 15.97 kB / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.548e-05/0.004688, allocations: 19.98 kB / 0.5574 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.334e-05/0.004761, allocations: 36.83 kB / 0.5574 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.004764, allocations: 0 / 0.5574 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001077/0.004872, allocations: 73.59 kB / 0.5575 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.004884, allocations: 10.66 kB / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.004888, allocations: 0 / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.004899, allocations: 0 / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.004956, allocations: 7.984 kB / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.00496, allocations: 0 / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/0.004981, allocations: 7.984 kB / 0.5575 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.004986, allocations: 4 kB / 0.5575 GB, free: 15.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.889e-05/0.005035, allocations: 113.9 kB / 0.5576 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.005046, allocations: 3.938 kB / 0.5576 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.005169, allocations: 72.91 kB / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.005171, allocations: 0 / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.005175, allocations: 0 / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.005178, allocations: 0 / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.005279, allocations: 132.6 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.005281, allocations: 4 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.005303, allocations: 12.02 kB / 0.5578 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005305, allocations: 3.938 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.00531, allocations: 4.125 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.005311, allocations: 0 / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.005313, allocations: 4 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.00543, allocations: 167.5 kB / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.005438, allocations: 3.938 kB / 0.558 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.005447, allocations: 0 / 0.558 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.553e-05/0.005482, allocations: 12.02 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.005511, allocations: 0 / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.005514, allocations: 4 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.592e-05/0.00554, allocations: 87.22 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.00554, allocations: 0 / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001362/0.005676, allocations: 4 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000297/0.005973, allocations: 0.6968 MB / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.006086, allocations: 35.91 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.006088, allocations: 0 / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/0.006127, allocations: 23.91 kB / 0.5588 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.006312, allocations: 8 kB / 0.5588 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.006606, allocations: 126.6 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.098e-05/0.006647, allocations: 67.47 kB / 0.559 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.184e-05/0.006668, allocations: 0 / 0.559 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.006702, allocations: 8.5 kB / 0.559 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of SimCode: time 7.92e-07/0.006703, allocations: 0 / 0.559 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/0.02066, allocations: 1.94 MB / 0.5609 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.729/6.749, allocations: 3.891 kB / 0.5609 GB, free: 11.66 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Acos.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.36930042039603] Failed to read output from testmodel.py, exit status != 0: 6.83044938929379 6.83910272 6.834658586 Calling exit ...