Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.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.001274/0.001274, allocations: 97.11 kB / 19.73 MB, free: 1.871 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.001347/0.001347, allocations: 204.3 kB / 23.04 MB, free: 5.008 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.363/1.363, allocations: 230.6 MB / 256.8 MB, free: 7.734 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.9412/0.9412, allocations: 150 MB / 463.2 MB, free: 10.16 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.Nand,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand",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.00192/0.00192, allocations: 62.47 kB / 0.6413 GB, free: 9.816 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1572, allocations: 89.18 MB / 0.7284 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001712/0.1589, allocations: 0.6303 MB / 0.729 GB, free: 84 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1604, allocations: 1.202 MB / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.1604, allocations: 0 / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.1605, allocations: 3.938 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.1605, allocations: 15.86 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006186/0.1612, allocations: 218.8 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.1614, allocations: 175.7 kB / 0.7305 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.54e-05/0.1615, allocations: 8 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1616, allocations: 75.81 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.1617, allocations: 47.86 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.1617, allocations: 16 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.1618, allocations: 24 kB / 0.7307 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.1618, allocations: 15.97 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.434e-05/0.1619, allocations: 55.84 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.1621, allocations: 151.9 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1621, allocations: 0 / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1621, allocations: 0 / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.1621, allocations: 0 / 0.7309 GB, free: 14.09 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.0004931/0.1626, allocations: 361.5 kB / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1626, allocations: 12.03 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.1627, allocations: 30.75 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.1627, allocations: 8.938 kB / 0.7313 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.1628, allocations: 122.4 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1628, allocations: 12.31 kB / 0.7314 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.1629, allocations: 8.375 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.163, allocations: 50.25 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.163, allocations: 3.938 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.163, allocations: 7.922 kB / 0.7315 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.163, allocations: 4 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.629e-05/0.163, allocations: 12 kB / 0.7315 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.1635, allocations: 291.9 kB / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.1635, allocations: 34.5 kB / 0.7318 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.1636, allocations: 12.86 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.1636, allocations: 4 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.1637, allocations: 91.39 kB / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.1637, allocations: 0 / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002287/0.164, allocations: 101.6 kB / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.164, allocations: 55.41 kB / 0.7321 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.1641, allocations: 117.8 kB / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.1641, allocations: 33.7 kB / 0.7322 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.1642, allocations: 88.12 kB / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.1642, allocations: 19.89 kB / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.1643, allocations: 49.69 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1644, allocations: 326.8 kB / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.1646, allocations: 119.4 kB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.1648, allocations: 151.6 kB / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.165, allocations: 168 kB / 0.7331 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.165, allocations: 0 / 0.7331 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004649/0.1655, allocations: 328.2 kB / 0.7334 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.546e-05/0.1655, allocations: 71.52 kB / 0.7335 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1655, allocations: 0 / 0.7335 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1655, allocations: 0 / 0.7335 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.577e-05/0.1656, allocations: 4 kB / 0.7335 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1656, allocations: 320 / 0.7335 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.1659, allocations: 51.89 kB / 0.7336 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.1659, allocations: 19.98 kB / 0.7336 GB, free: 11.06 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,nand1.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.0001004/0.166, allocations: 129.7 kB / 0.7337 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.166, allocations: 4 kB / 0.7337 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.1661, allocations: 8.375 kB / 0.7337 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1661, allocations: 0 / 0.7337 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1661, allocations: 0 / 0.7337 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1661, allocations: 3.984 kB / 0.7337 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.1662, allocations: 148.6 kB / 0.7339 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1662, allocations: 3.984 kB / 0.7339 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-06/0.1662, allocations: 4 kB / 0.7339 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1662, allocations: 0 / 0.7339 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1662, allocations: 7.984 kB / 0.7339 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1662, allocations: 3.984 kB / 0.7339 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1662, allocations: 4 kB / 0.7339 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.1664, allocations: 120.9 kB / 0.734 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.1664, allocations: 4.016 kB / 0.734 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1664, allocations: 8 kB / 0.734 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.923e-05/0.1664, allocations: 0 / 0.734 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.1665, allocations: 11.98 kB / 0.734 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1665, allocations: 0 / 0.734 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.494e-05/0.1665, allocations: 95.2 kB / 0.7341 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1665, allocations: 0 / 0.7341 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002348/0.1668, allocations: 32 kB / 0.7341 GB, free: 10.41 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,nand1.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.0004549/0.1672, allocations: 0.6461 MB / 0.7348 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.1676, allocations: 282.1 kB / 0.735 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1676, allocations: 3.938 kB / 0.735 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.43e-05/0.1676, allocations: 23.98 kB / 0.7351 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.1678, allocations: 16.23 kB / 0.7351 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.1699, allocations: 1.964 MB / 0.737 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.564e-05/0.17, allocations: 68.16 kB / 0.7371 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.17, allocations: 7.984 kB / 0.7371 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.17, allocations: 15.44 kB / 0.7371 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.17, allocations: 0 / 0.7371 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.2019, allocations: 3.634 MB / 0.7406 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.59, allocations: 4.766 kB / 0.7406 GB, free: 3.68 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand_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_Nand.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.134391510859132] Failed to read output from testmodel.py, exit status != 0: 10.692035153973848 10.709980565 10.544499578 Calling exit ...