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.001568/0.001568, allocations: 113.4 kB / 17.12 MB, free: 6.027 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.001992/0.001992, allocations: 208.3 kB / 20.1 MB, free: 3.074 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.504/1.504, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9719/0.9719, allocations: 150 MB / 459.5 MB, free: 5.316 MB / 350.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.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: 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.002015/0.002015, allocations: 78.58 kB / 0.6362 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1599, allocations: 89.13 MB / 0.7232 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002316/0.1622, allocations: 0.6516 MB / 0.7239 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1636, allocations: 0.8475 MB / 0.7247 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.1636, allocations: 0 / 0.7247 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.1637, allocations: 4 kB / 0.7247 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.671e-05/0.1637, allocations: 7.938 kB / 0.7247 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.164, allocations: 19.91 kB / 0.7247 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.174e-05/0.164, allocations: 23.92 kB / 0.7247 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1642, allocations: 4 kB / 0.7247 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.142e-05/0.1642, allocations: 11.92 kB / 0.7247 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.1643, allocations: 11.94 kB / 0.7248 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.1643, allocations: 0 / 0.7248 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.652e-05/0.1644, allocations: 7.984 kB / 0.7248 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.1644, allocations: 8 kB / 0.7248 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.1644, allocations: 19.86 kB / 0.7248 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.1645, allocations: 24.19 kB / 0.7248 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1645, allocations: 0 / 0.7248 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.355e-06/0.1645, allocations: 0 / 0.7248 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.1645, allocations: 0 / 0.7248 GB, free: 2.48 MB / 0.5294 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.0005239/0.165, allocations: 339.4 kB / 0.7251 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1651, allocations: 16.02 kB / 0.7252 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.1651, allocations: 30.75 kB / 0.7252 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.61e-05/0.1652, allocations: 4.938 kB / 0.7252 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.1654, allocations: 168.3 kB / 0.7254 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.1654, allocations: 384 / 0.7254 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.1654, allocations: 4.375 kB / 0.7254 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1656, allocations: 50.17 kB / 0.7254 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1656, allocations: 3.938 kB / 0.7254 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1656, allocations: 4 kB / 0.7254 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1656, allocations: 4 kB / 0.7254 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.1658, allocations: 39.94 kB / 0.7255 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1661, allocations: 241 kB / 0.7257 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.1663, allocations: 38.5 kB / 0.7257 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.1664, allocations: 28.83 kB / 0.7257 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1664, allocations: 0 / 0.7257 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1665, allocations: 34.56 kB / 0.7258 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1665, allocations: 0 / 0.7258 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000495/0.167, allocations: 81.64 kB / 0.7259 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.167, allocations: 51.41 kB / 0.7259 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1671, allocations: 97.86 kB / 0.726 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1672, allocations: 25.83 kB / 0.726 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.1672, allocations: 96.06 kB / 0.7261 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.1673, allocations: 3.953 kB / 0.7261 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.1673, allocations: 13.72 kB / 0.7261 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.1675, allocations: 314.8 kB / 0.7264 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1676, allocations: 19.92 kB / 0.7265 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.1678, allocations: 17.86 kB / 0.7265 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.1679, allocations: 40.89 kB / 0.7265 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1679, allocations: 3.938 kB / 0.7265 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002045/0.1681, allocations: 65.66 kB / 0.7266 GB, free: 452 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1681, allocations: 5.875 kB / 0.7266 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1682, allocations: 0 / 0.7266 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.1682, allocations: 0 / 0.7266 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1683, allocations: 16.02 kB / 0.7266 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1683, allocations: 3.938 kB / 0.7266 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.058e-05/0.1683, allocations: 11.95 kB / 0.7266 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1683, allocations: 7.875 kB / 0.7266 GB, free: 408 kB / 0.5294 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 9.896e-05/0.1684, allocations: 113.8 kB / 0.7267 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.1685, allocations: 4 kB / 0.7267 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.1687, allocations: 72.78 kB / 0.7268 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1687, allocations: 0 / 0.7268 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.1687, allocations: 4 kB / 0.7268 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1687, allocations: 4 kB / 0.7268 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.169, allocations: 157.6 kB / 0.727 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.169, allocations: 0 / 0.727 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.169, allocations: 7.984 kB / 0.727 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.169, allocations: 0 / 0.727 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.169, allocations: 0 / 0.727 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.169, allocations: 4 kB / 0.727 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.169, allocations: 4.031 kB / 0.727 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.1693, allocations: 167.4 kB / 0.7271 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.1693, allocations: 77.11 kB / 0.7272 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1694, allocations: 3.984 kB / 0.7272 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.1694, allocations: 4 kB / 0.7272 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1695, allocations: 4.031 kB / 0.7272 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1695, allocations: 3.984 kB / 0.7272 GB, free: 15.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.1695, allocations: 79.28 kB / 0.7273 GB, free: 15.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.1695, allocations: 0 / 0.7273 GB, free: 15.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002135/0.1697, allocations: 8 kB / 0.7273 GB, free: 15.6 MB / 0.545 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.0005993/0.1703, allocations: 0.7006 MB / 0.728 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.1706, allocations: 39.95 kB / 0.728 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1706, allocations: 0 / 0.728 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.754e-05/0.1706, allocations: 15.98 kB / 0.728 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.1709, allocations: 13.36 kB / 0.7281 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.1714, allocations: 151.6 kB / 0.7282 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1717, allocations: 0.6768 MB / 0.7289 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.919e-05/0.1717, allocations: 0 / 0.7289 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.1717, allocations: 11.44 kB / 0.7289 GB, free: 13.9 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.1717, allocations: 0 / 0.7289 GB, free: 13.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.195, allocations: 1.282 MB / 0.7301 GB, free: 12.72 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.302, allocations: 12.97 kB / 0.7301 GB, free: 12.71 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.207419238053262] Failed to read output from testmodel.py, exit status != 0: 8.36877447203733 8.384994375 8.217374811000001 Calling exit ...