Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Asin.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.001326/0.001326, 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.001622/0.001622, 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9759/0.9759, allocations: 150 MB / 459.5 MB, free: 5.301 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.Asin,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Asin",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.001967/0.001967, allocations: 75.28 kB / 0.6362 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1543, allocations: 89.14 MB / 0.7232 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001899/0.1562, allocations: 0.6477 MB / 0.7239 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1572, allocations: 0.8203 MB / 0.7247 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.1572, allocations: 0 / 0.7247 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.1572, allocations: 0 / 0.7247 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.016e-05/0.1573, allocations: 7.922 kB / 0.7247 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.1575, allocations: 15.98 kB / 0.7247 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.278e-05/0.1575, allocations: 19.94 kB / 0.7247 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.11e-05/0.1576, allocations: 7.984 kB / 0.7247 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.1577, allocations: 15.94 kB / 0.7247 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.391e-05/0.1577, allocations: 7.984 kB / 0.7247 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1577, allocations: 4 kB / 0.7247 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.192e-05/0.1578, allocations: 4 kB / 0.7247 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.1578, allocations: 7.922 kB / 0.7247 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.1578, allocations: 11.94 kB / 0.7248 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.971e-05/0.1579, allocations: 32.11 kB / 0.7248 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1579, allocations: 0 / 0.7248 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1579, allocations: 0 / 0.7248 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.1579, allocations: 0 / 0.7248 GB, free: 2.375 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.0004648/0.1584, allocations: 339.5 kB / 0.7251 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1584, allocations: 12.03 kB / 0.7251 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.1584, allocations: 38.75 kB / 0.7252 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.861e-05/0.1585, allocations: 4.875 kB / 0.7252 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1587, allocations: 172.3 kB / 0.7253 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-06/0.1587, allocations: 4.312 kB / 0.7253 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.1587, allocations: 384 / 0.7253 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1588, allocations: 46.25 kB / 0.7254 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1589, allocations: 7.938 kB / 0.7254 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1589, allocations: 3.984 kB / 0.7254 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1589, allocations: 0 / 0.7254 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.159, allocations: 35.91 kB / 0.7254 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.1594, allocations: 244.9 kB / 0.7257 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1595, allocations: 46.53 kB / 0.7257 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.928e-05/0.1596, allocations: 16.91 kB / 0.7257 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1596, allocations: 4 kB / 0.7257 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.1596, allocations: 34.56 kB / 0.7258 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1596, allocations: 3.938 kB / 0.7258 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003514/0.16, allocations: 77.73 kB / 0.7258 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.1601, allocations: 55.41 kB / 0.7259 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.1601, allocations: 101.8 kB / 0.726 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1601, allocations: 25.7 kB / 0.726 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.1602, allocations: 84.14 kB / 0.7261 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.1602, allocations: 7.953 kB / 0.7261 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.1603, allocations: 9.719 kB / 0.7261 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1604, allocations: 314.8 kB / 0.7264 GB, free: 500 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.779e-05/0.1605, allocations: 24.02 kB / 0.7264 GB, free: 476 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.587e-05/0.1606, allocations: 11.98 kB / 0.7264 GB, free: 464 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1607, allocations: 44.77 kB / 0.7265 GB, free: 416 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1607, allocations: 3.938 kB / 0.7265 GB, free: 412 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002075/0.1609, allocations: 65.72 kB / 0.7265 GB, free: 340 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1609, allocations: 8 kB / 0.7266 GB, free: 332 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.161, allocations: 0 / 0.7266 GB, free: 332 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.161, allocations: 0 / 0.7266 GB, free: 332 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.482e-05/0.161, allocations: 7.984 kB / 0.7266 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1611, allocations: 4 kB / 0.7266 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.1611, allocations: 11.94 kB / 0.7266 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1611, allocations: 0 / 0.7266 GB, free: 308 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 7.645e-05/0.1612, allocations: 113.8 kB / 0.7267 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.1612, allocations: 192 / 0.7267 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.1614, allocations: 80.7 kB / 0.7268 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1614, allocations: 3.938 kB / 0.7268 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1615, allocations: 0 / 0.7268 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.1615, allocations: 0 / 0.7268 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.1616, allocations: 165.6 kB / 0.7269 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1616, allocations: 3.938 kB / 0.7269 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.1617, allocations: 12.03 kB / 0.7269 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1617, allocations: 3.984 kB / 0.7269 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.1617, allocations: 0 / 0.7269 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1617, allocations: 4 kB / 0.7269 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1617, allocations: 0 / 0.7269 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.162, allocations: 171.4 kB / 0.7271 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.162, allocations: 81.11 kB / 0.7272 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.162, allocations: 0 / 0.7272 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.028e-05/0.1621, allocations: 7.984 kB / 0.7272 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1622, allocations: 0 / 0.7272 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.1622, allocations: 0 / 0.7272 GB, free: 15.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.78e-05/0.1622, allocations: 83.28 kB / 0.7273 GB, free: 15.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1622, allocations: 0 / 0.7273 GB, free: 15.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003086/0.1625, allocations: 4 kB / 0.7273 GB, free: 15.48 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.0006186/0.1631, allocations: 0.6968 MB / 0.728 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1634, allocations: 43.92 kB / 0.728 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1634, allocations: 0 / 0.728 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.898e-05/0.1635, allocations: 19.98 kB / 0.728 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.1638, allocations: 8.922 kB / 0.728 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.1642, allocations: 137.5 kB / 0.7282 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.1645, allocations: 0.6729 MB / 0.7288 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.428e-05/0.1645, allocations: 8.109 kB / 0.7288 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.1646, allocations: 11.44 kB / 0.7288 GB, free: 13.8 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.1646, allocations: 0 / 0.7288 GB, free: 13.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.1876, allocations: 1.283 MB / 0.7301 GB, free: 12.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.327, allocations: 8.531 kB / 0.7301 GB, free: 12.61 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Asin.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Asin_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_Asin.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.264183332910761] Failed to read output from testmodel.py, exit status != 0: 8.397426462965086 8.428381895 8.265562062 Calling exit ...