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.001188/0.001188, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001284/0.001284, allocations: 169.9 kB / 23.2 MB, free: 1.359 MB / 18.57 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 0.872/0.872, allocations: 177.2 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.5747/0.5747, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.913e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001454/0.001473, allocations: 0.642 MB / 0.5548 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.002939, allocations: 1.213 MB / 0.556 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.002982, allocations: 0 / 0.556 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.003011, allocations: 3.938 kB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.476e-05/0.003075, allocations: 7.922 kB / 0.556 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.003639, allocations: 220.4 kB / 0.5562 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.003837, allocations: 171.7 kB / 0.5564 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.003928, allocations: 8 kB / 0.5564 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.004049, allocations: 99.86 kB / 0.5565 GB, free: 440 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.004158, allocations: 51.84 kB / 0.5565 GB, free: 388 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.004186, allocations: 16 kB / 0.5566 GB, free: 372 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.484e-05/0.004251, allocations: 23.98 kB / 0.5566 GB, free: 348 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.004271, allocations: 11.98 kB / 0.5566 GB, free: 336 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.004336, allocations: 55.89 kB / 0.5566 GB, free: 280 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.004547, allocations: 175.6 kB / 0.5568 GB, free: 104 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004549, allocations: 0 / 0.5568 GB, free: 104 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00455, allocations: 0 / 0.5568 GB, free: 104 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.004554, allocations: 3.938 kB / 0.5568 GB, free: 100 kB / 0.5105 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.0005752/0.005129, allocations: 361.5 kB / 0.5572 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.00517, allocations: 12.62 kB / 0.5572 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.75e-05/0.005197, allocations: 30.75 kB / 0.5572 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.005244, allocations: 20.88 kB / 0.5572 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.848e-05/0.005322, allocations: 109.8 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.005337, allocations: 4.375 kB / 0.5573 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.005361, allocations: 12.38 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.886e-05/0.00546, allocations: 50.23 kB / 0.5574 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.005468, allocations: 4.125 kB / 0.5574 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-06/0.005476, allocations: 384 / 0.5574 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005482, allocations: 4.125 kB / 0.5574 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.848e-05/0.00552, allocations: 23.88 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.005915, allocations: 295.9 kB / 0.5577 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.842e-05/0.005984, allocations: 30.58 kB / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.006006, allocations: 8.859 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.006017, allocations: 8.016 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.006162, allocations: 91.25 kB / 0.5578 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.006163, allocations: 0 / 0.5578 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.000218/0.006381, allocations: 97.67 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.006417, allocations: 55.41 kB / 0.558 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.006493, allocations: 117.8 kB / 0.5581 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.006519, allocations: 37.69 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.006569, allocations: 88.14 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.006585, allocations: 19.89 kB / 0.5582 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.006663, allocations: 53.62 kB / 0.5583 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.835e-05/0.006751, allocations: 314.8 kB / 0.5586 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.006891, allocations: 123.4 kB / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.007033, allocations: 151.7 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.007185, allocations: 159.6 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.007188, allocations: 3.938 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003682/0.007556, allocations: 328.7 kB / 0.5593 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/0.007599, allocations: 71.33 kB / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.007606, allocations: 3.984 kB / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.007618, allocations: 0 / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.704e-05/0.007635, allocations: 7.938 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.007641, allocations: 0 / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.00787, allocations: 56.06 kB / 0.5595 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.007896, allocations: 15.98 kB / 0.5595 GB, free: 13.07 MB / 0.5261 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 7.762e-05/0.007974, allocations: 125.7 kB / 0.5596 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.007985, allocations: 7.953 kB / 0.5596 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.008007, allocations: 12.42 kB / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.00801, allocations: 0 / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.008014, allocations: 0 / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.008017, allocations: 7.938 kB / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.535e-05/0.008112, allocations: 140.7 kB / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008113, allocations: 0 / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-06/0.008121, allocations: 12.05 kB / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.008122, allocations: 0 / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.008129, allocations: 0 / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.00813, allocations: 0 / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.008131, allocations: 7.938 kB / 0.5598 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.008246, allocations: 117.3 kB / 0.5599 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.008255, allocations: 3.953 kB / 0.5599 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.008268, allocations: 4 kB / 0.5599 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.778e-05/0.008286, allocations: 8 kB / 0.5599 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.008326, allocations: 7.984 kB / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.008332, allocations: 0 / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.008374, allocations: 91.27 kB / 0.56 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008374, allocations: 0 / 0.56 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002278/0.008601, allocations: 32 kB / 0.56 GB, free: 12.43 MB / 0.5261 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.0005932/0.009195, allocations: 0.6515 MB / 0.5607 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.009485, allocations: 278.1 kB / 0.5609 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.009487, allocations: 4.25 kB / 0.5609 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.351e-05/0.00952, allocations: 23.98 kB / 0.5609 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.009726, allocations: 22.39 kB / 0.561 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.0114, allocations: 1.962 MB / 0.5629 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.77e-05/0.01144, allocations: 71.33 kB / 0.563 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.618e-05/0.01147, allocations: 8 kB / 0.563 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.01151, allocations: 24.48 kB / 0.563 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of SimCode: time 6.22e-07/0.01151, allocations: 0 / 0.563 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.02917, allocations: 3.747 MB / 0.5666 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.459/6.488, allocations: 2.969 kB / 0.5666 GB, free: 5.582 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.077277372591197] Failed to read output from testmodel.py, exit status != 0: 6.5666587725281715 6.57429 6.568135539 Calling exit ...