Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.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.001287/0.001287, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001441/0.001441, allocations: 209.6 kB / 23.04 MB, free: 4.887 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.356/1.356, 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 0.9373/0.9373, allocations: 150 MB / 463.2 MB, free: 10.24 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.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",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.002054/0.002054, allocations: 67.27 kB / 0.6413 GB, free: 9.902 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1655, allocations: 89.17 MB / 0.7284 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001851/0.1673, allocations: 0.6292 MB / 0.729 GB, free: 184 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1689, allocations: 1.21 MB / 0.7302 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.169, allocations: 0 / 0.7302 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.169, allocations: 7.922 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.574e-05/0.1691, allocations: 3.938 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/0.1697, allocations: 223.2 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.1699, allocations: 171.8 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.889e-05/0.17, allocations: 4 kB / 0.7306 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.995e-05/0.1701, allocations: 75.81 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1702, allocations: 51.86 kB / 0.7307 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.1702, allocations: 16 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.377e-05/0.1703, allocations: 23.98 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.1703, allocations: 19.92 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.73e-05/0.1704, allocations: 55.89 kB / 0.7308 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1706, allocations: 147.8 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.1706, allocations: 7.984 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1706, allocations: 0 / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1706, allocations: 3.938 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005085/0.1711, allocations: 357.5 kB / 0.7313 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1712, allocations: 12.03 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.1712, allocations: 34.73 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.1713, allocations: 8.938 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.653e-05/0.1714, allocations: 118.4 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1714, allocations: 4.375 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.1714, allocations: 12.38 kB / 0.7315 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.1715, allocations: 46.23 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1715, allocations: 7.938 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1715, allocations: 3.984 kB / 0.7315 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1716, allocations: 0 / 0.7315 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.758e-05/0.1716, allocations: 12 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.172, allocations: 295.8 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.566e-05/0.1721, allocations: 34.58 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.1721, allocations: 16.94 kB / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.1721, allocations: 0 / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.1723, allocations: 87.31 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.1723, allocations: 4 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002447/0.1726, allocations: 105.6 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.1726, allocations: 55.41 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1727, allocations: 121.8 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.1727, allocations: 29.7 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.1728, allocations: 88.14 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.1728, allocations: 19.89 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.1729, allocations: 53.69 kB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.173, allocations: 318.8 kB / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.1732, allocations: 123.4 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.1734, allocations: 156 kB / 0.733 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.1736, allocations: 159.7 kB / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1736, allocations: 3.938 kB / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004575/0.1741, allocations: 328.3 kB / 0.7334 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.546e-05/0.1741, allocations: 71.39 kB / 0.7335 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1741, allocations: 0 / 0.7335 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1741, allocations: 0 / 0.7335 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.051e-05/0.1741, allocations: 8 kB / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1742, allocations: 0 / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.1745, allocations: 51.89 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.1745, allocations: 20.08 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001031/0.1746, allocations: 125.7 kB / 0.7337 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.1746, allocations: 4 kB / 0.7337 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.1747, allocations: 12.36 kB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1747, allocations: 0 / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1747, allocations: 0 / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1747, allocations: 0 / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.1748, allocations: 144.6 kB / 0.7339 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1748, allocations: 3.984 kB / 0.7339 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-06/0.1748, allocations: 4 kB / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1748, allocations: 4 kB / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1748, allocations: 4 kB / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1748, allocations: 0 / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1748, allocations: 0 / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.175, allocations: 125.2 kB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.175, allocations: 3.953 kB / 0.734 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.175, allocations: 4 kB / 0.734 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.954e-05/0.175, allocations: 0 / 0.734 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.1751, allocations: 7.984 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1751, allocations: 8.062 kB / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.52e-05/0.1751, allocations: 95.2 kB / 0.7341 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1751, allocations: 4 kB / 0.7341 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002268/0.1754, allocations: 28 kB / 0.7341 GB, free: 10.51 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004652/0.1758, allocations: 0.6553 MB / 0.7348 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003517/0.1762, allocations: 274.1 kB / 0.735 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1762, allocations: 0 / 0.735 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.801e-05/0.1762, allocations: 27.97 kB / 0.7351 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.1764, allocations: 24.17 kB / 0.7351 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.1785, allocations: 1.959 MB / 0.737 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.585e-05/0.1786, allocations: 71.33 kB / 0.7371 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.625e-05/0.1786, allocations: 4 kB / 0.7371 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.1786, allocations: 19.44 kB / 0.7371 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1786, allocations: 0 / 0.7371 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.2093, allocations: 3.635 MB / 0.7406 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.5, allocations: 8.5 kB / 0.7406 GB, free: 3.766 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.0621438708622] Failed to read output from testmodel.py, exit status != 0: 10.605231282068416 10.619713633 10.446159567 Calling exit ...