Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.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.001261/0.001261, 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.001355/0.001355, allocations: 212.1 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9569/0.9569, allocations: 150 MB / 463.2 MB, free: 10.19 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.Not,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Not",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.002128/0.002128, allocations: 63.19 kB / 0.6413 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1653, allocations: 89.18 MB / 0.7284 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Not): time 0.001878/0.1672, allocations: 0.5867 MB / 0.7289 GB, free: 208 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1687, allocations: 1.124 MB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.1688, allocations: 0 / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.1688, allocations: 3.938 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.244e-05/0.1688, allocations: 11.94 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.1693, allocations: 129.9 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1695, allocations: 83.89 kB / 0.7303 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.403e-05/0.1696, allocations: 4 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.1696, allocations: 39.91 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.054e-05/0.1697, allocations: 27.89 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.1698, allocations: 8 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.43e-05/0.1698, allocations: 19.98 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.1699, allocations: 8 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.1699, allocations: 27.91 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.1701, allocations: 84.06 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1701, allocations: 0 / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1701, allocations: 0 / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1701, allocations: 4 kB / 0.7305 GB, free: 14.63 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004488/0.1705, allocations: 299.9 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1706, allocations: 12.03 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.1706, allocations: 34.75 kB / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.1707, allocations: 4.938 kB / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1708, allocations: 110.5 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1708, allocations: 12.38 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1708, allocations: 4.375 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.925e-05/0.1709, allocations: 42.25 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1709, allocations: 3.938 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.1709, allocations: 0 / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1709, allocations: 0 / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.019e-05/0.171, allocations: 11.94 kB / 0.731 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.1713, allocations: 248 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.085e-05/0.1714, allocations: 18.58 kB / 0.7312 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.1714, allocations: 4.859 kB / 0.7312 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.1714, allocations: 4 kB / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.1716, allocations: 67.33 kB / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1716, allocations: 0 / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001836/0.1718, allocations: 61.69 kB / 0.7314 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1718, allocations: 51.41 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.016e-05/0.1719, allocations: 109.8 kB / 0.7315 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.1719, allocations: 29.7 kB / 0.7315 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.172, allocations: 84.14 kB / 0.7316 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.172, allocations: 3.953 kB / 0.7316 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.1721, allocations: 33.69 kB / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1722, allocations: 330.8 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.54e-05/0.1723, allocations: 57.69 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.891e-05/0.1724, allocations: 80.19 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.1725, allocations: 84.48 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1725, allocations: 0 / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002704/0.1728, allocations: 173 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.1728, allocations: 37.69 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1728, allocations: 0 / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1728, allocations: 4.094 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.902e-05/0.1729, allocations: 11.88 kB / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1729, allocations: 0 / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.1731, allocations: 31.91 kB / 0.7324 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.1731, allocations: 4 kB / 0.7324 GB, free: 12.35 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.754e-05/0.1732, allocations: 117.8 kB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.1732, allocations: 7.953 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.1732, allocations: 7.688 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1732, allocations: 4 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1732, allocations: 0 / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1732, allocations: 0 / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.1733, allocations: 132.7 kB / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1733, allocations: 320 / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-06/0.1733, allocations: 0 / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1733, allocations: 0 / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1733, allocations: 8 kB / 0.7327 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1733, allocations: 0 / 0.7327 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1733, allocations: 3.984 kB / 0.7327 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.1735, allocations: 81 kB / 0.7328 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-06/0.1735, allocations: 7.953 kB / 0.7328 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.1735, allocations: 4 kB / 0.7328 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.314e-05/0.1735, allocations: 0 / 0.7328 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.1735, allocations: 7.984 kB / 0.7328 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1735, allocations: 0 / 0.7328 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.492e-05/0.1736, allocations: 83.28 kB / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1736, allocations: 3.938 kB / 0.7329 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000205/0.1738, allocations: 16 kB / 0.7329 GB, free: 11.8 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004341/0.1742, allocations: 0.6202 MB / 0.7335 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.1744, allocations: 141.1 kB / 0.7336 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1744, allocations: 0 / 0.7336 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.973e-05/0.1745, allocations: 12 kB / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.1746, allocations: 4 kB / 0.7337 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.1762, allocations: 1.481 MB / 0.7351 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.683e-05/0.1763, allocations: 63.34 kB / 0.7352 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.776e-05/0.1763, allocations: 240 / 0.7352 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.1763, allocations: 23.56 kB / 0.7352 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.1763, allocations: 0 / 0.7352 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.2066, allocations: 2.554 MB / 0.7377 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.45, allocations: 6.859 kB / 0.7377 GB, free: 6.867 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not_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_Not.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.048292489955202] Failed to read output from testmodel.py, exit status != 0: 10.548185949912295 10.562505724 10.389574016 Calling exit ...