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.001296/0.001296, 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.001498/0.001498, 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.494/1.494, 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.985/0.985, allocations: 150 MB / 459.5 MB, free: 5.332 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.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.002033/0.002033, allocations: 72.88 kB / 0.6361 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1663, allocations: 89.14 MB / 0.7232 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001907/0.1682, allocations: 0.6372 MB / 0.7238 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1698, allocations: 1.223 MB / 0.725 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.1698, allocations: 3.938 kB / 0.725 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.1698, allocations: 3.938 kB / 0.725 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.352e-05/0.1699, allocations: 15.91 kB / 0.725 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.1706, allocations: 208.8 kB / 0.7252 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.1708, allocations: 175.7 kB / 0.7254 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.321e-05/0.1709, allocations: 15.97 kB / 0.7254 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.701e-05/0.171, allocations: 63.89 kB / 0.7255 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1711, allocations: 59.84 kB / 0.7255 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1711, allocations: 16 kB / 0.7255 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.324e-05/0.1712, allocations: 31.98 kB / 0.7256 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.1712, allocations: 7.938 kB / 0.7256 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.393e-05/0.1713, allocations: 59.88 kB / 0.7256 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.1715, allocations: 151.8 kB / 0.7258 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1716, allocations: 4 kB / 0.7258 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1716, allocations: 0 / 0.7258 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.1716, allocations: 0 / 0.7258 GB, free: 1.383 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005704/0.1721, allocations: 438.6 kB / 0.7262 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1722, allocations: 12.03 kB / 0.7262 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.1722, allocations: 34.69 kB / 0.7262 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.1723, allocations: 12.92 kB / 0.7263 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.1724, allocations: 176.3 kB / 0.7264 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1724, allocations: 4.375 kB / 0.7264 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.1724, allocations: 8.375 kB / 0.7264 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.1726, allocations: 54.23 kB / 0.7265 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1726, allocations: 3.938 kB / 0.7265 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1726, allocations: 4 kB / 0.7265 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1726, allocations: 0 / 0.7265 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.293e-05/0.1726, allocations: 15.94 kB / 0.7265 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.1731, allocations: 348.7 kB / 0.7268 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.381e-05/0.1732, allocations: 34.56 kB / 0.7269 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.1732, allocations: 16.86 kB / 0.7269 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.1733, allocations: 0 / 0.7269 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.1735, allocations: 83.5 kB / 0.727 GB, free: 15.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1735, allocations: 0 / 0.727 GB, free: 15.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000257/0.1737, allocations: 105.6 kB / 0.7271 GB, free: 15.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.1738, allocations: 59.23 kB / 0.7271 GB, free: 15.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1739, allocations: 121.8 kB / 0.7272 GB, free: 15.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.1739, allocations: 29.7 kB / 0.7273 GB, free: 15.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.174, allocations: 92.12 kB / 0.7274 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.174, allocations: 15.91 kB / 0.7274 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.1741, allocations: 53.69 kB / 0.7274 GB, free: 15.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1743, allocations: 318.8 kB / 0.7277 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.1745, allocations: 63.91 kB / 0.7278 GB, free: 15.08 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.1747, allocations: 92.27 kB / 0.7279 GB, free: 14.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.1749, allocations: 164 kB / 0.728 GB, free: 14.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1749, allocations: 0 / 0.728 GB, free: 14.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004944/0.1754, allocations: 272.8 kB / 0.7283 GB, free: 14.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.672e-05/0.1755, allocations: 67.39 kB / 0.7284 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1755, allocations: 0 / 0.7284 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1755, allocations: 4 kB / 0.7284 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.025e-05/0.1755, allocations: 0 / 0.7284 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1755, allocations: 7.938 kB / 0.7284 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/0.1759, allocations: 51.89 kB / 0.7284 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.1759, allocations: 20.11 kB / 0.7284 GB, free: 14.34 MB / 0.545 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.0001264/0.176, allocations: 123.5 kB / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.176, allocations: 4 kB / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.1761, allocations: 8.359 kB / 0.7286 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1761, allocations: 4 kB / 0.7286 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1761, allocations: 4.062 kB / 0.7286 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1761, allocations: 0 / 0.7286 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.1763, allocations: 185.5 kB / 0.7288 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1763, allocations: 0 / 0.7288 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.1763, allocations: 7.984 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.1763, allocations: 3.984 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1763, allocations: 4 kB / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1763, allocations: 0 / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1763, allocations: 0 / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.1765, allocations: 113 kB / 0.7289 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.1765, allocations: 81.06 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1765, allocations: 3.938 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.997e-05/0.1766, allocations: 4 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.1766, allocations: 11.98 kB / 0.729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1766, allocations: 4 kB / 0.729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.347e-05/0.1767, allocations: 95.2 kB / 0.7291 GB, free: 13.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1767, allocations: 0 / 0.7291 GB, free: 13.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000249/0.1769, allocations: 28 kB / 0.7291 GB, free: 13.57 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: 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.0005811/0.1775, allocations: 0.6592 MB / 0.7297 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000364/0.1779, allocations: 210.7 kB / 0.7299 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1779, allocations: 0 / 0.7299 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.1779, allocations: 24.45 kB / 0.73 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.1782, allocations: 16.14 kB / 0.73 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.1804, allocations: 1.723 MB / 0.7317 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.1808, allocations: 0.6924 MB / 0.7323 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.202e-05/0.1808, allocations: 4 kB / 0.7323 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.1809, allocations: 15.42 kB / 0.7324 GB, free: 10.04 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.1809, allocations: 4 kB / 0.7324 GB, free: 10.03 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.2074, allocations: 2.887 MB / 0.7352 GB, free: 7.262 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.423, allocations: 6.75 kB / 0.7352 GB, free: 7.258 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.34833040391095] Failed to read output from testmodel.py, exit status != 0: 8.495339446002617 8.525409654 8.348689791 Calling exit ...