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.0008818/0.0008818, allocations: 72.95 kB / 20.72 MB, free: 3.773 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.0009928/0.0009928, allocations: 169 kB / 24.14 MB, free: 360 kB / 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.9491/0.9491, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.6464/0.6464, allocations: 115 MB / 376 MB, free: 7.492 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: translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 428.7 MB, free: 2.809 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.439e-05, allocations: 2.312 kB / 428.7 MB, free: 2.805 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001349/0.001374, allocations: 0.6528 MB / 429.4 MB, free: 2.152 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.002602, allocations: 1.24 MB / 430.6 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.00265, allocations: 0 / 430.6 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.002677, allocations: 7.922 kB / 430.6 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.199e-05/0.002759, allocations: 7.922 kB / 430.6 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.003229, allocations: 215.4 kB / 430.8 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.003418, allocations: 171.7 kB / 431 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.003496, allocations: 8 kB / 431 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.003607, allocations: 99.84 kB / 431.1 MB, free: 408 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.762e-05/0.003705, allocations: 47.91 kB / 431.2 MB, free: 360 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.003733, allocations: 16 kB / 431.2 MB, free: 344 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.728e-05/0.003791, allocations: 27.94 kB / 431.2 MB, free: 316 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.003809, allocations: 11.98 kB / 431.2 MB, free: 304 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.003852, allocations: 51.95 kB / 431.3 MB, free: 252 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.003994, allocations: 131.6 kB / 431.4 MB, free: 120 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003996, allocations: 0 / 431.4 MB, free: 120 kB / 394.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003997, allocations: 0 / 431.4 MB, free: 120 kB / 394.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.004, allocations: 0 / 431.4 MB, free: 120 kB / 394.7 MB 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.0006336/0.004633, allocations: 332.2 kB / 431.7 MB, free: 15.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.004669, allocations: 8.031 kB / 431.7 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.004712, allocations: 12.92 kB / 431.7 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.104e-05/0.004793, allocations: 117.7 kB / 431.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.004808, allocations: 16.36 kB / 431.9 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.004828, allocations: 12.38 kB / 431.9 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.679e-05/0.004895, allocations: 38.23 kB / 431.9 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.004904, allocations: 192 / 431.9 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.004912, allocations: 8.359 kB / 431.9 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.004918, allocations: 4.375 kB / 431.9 MB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.497e-05/0.004933, allocations: 11.94 kB / 431.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.005181, allocations: 184.1 kB / 432.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.199e-05/0.005233, allocations: 26.56 kB / 432.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.238e-05/0.005246, allocations: 8.859 kB / 432.2 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-06/0.005252, allocations: 4 kB / 432.2 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.944e-05/0.005341, allocations: 79.47 kB / 432.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.005342, allocations: 3.938 kB / 432.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001204/0.005463, allocations: 77.58 kB / 432.3 MB, free: 15.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.005492, allocations: 51.41 kB / 432.4 MB, free: 15.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.009e-05/0.005553, allocations: 114.7 kB / 432.5 MB, free: 14.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.005571, allocations: 33.7 kB / 432.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.00561, allocations: 100.1 kB / 432.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.005625, allocations: 7.938 kB / 432.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.005679, allocations: 49.67 kB / 432.7 MB, free: 14.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.00575, allocations: 318.8 kB / 433 MB, free: 14.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-05/0.005824, allocations: 95.38 kB / 433.1 MB, free: 14.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.031e-05/0.005905, allocations: 135.6 kB / 433.2 MB, free: 14.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.074e-05/0.005995, allocations: 143.6 kB / 433.3 MB, free: 13.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.005997, allocations: 0 / 433.3 MB, free: 13.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001868/0.006184, allocations: 260.8 kB / 433.6 MB, free: 13.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.006223, allocations: 71.52 kB / 433.7 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.00623, allocations: 3.938 kB / 433.7 MB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.006242, allocations: 0 / 433.7 MB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.361e-05/0.006255, allocations: 4 kB / 433.7 MB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.006259, allocations: 3.938 kB / 433.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.006392, allocations: 39.92 kB / 433.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.006408, allocations: 11.98 kB / 433.7 MB, free: 13.5 MB / 410.7 MB 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 6.893e-05/0.006477, allocations: 121.8 kB / 433.9 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.006486, allocations: 11.98 kB / 433.9 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.218e-05/0.006509, allocations: 12.38 kB / 433.9 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.00651, allocations: 0 / 433.9 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.006513, allocations: 0 / 433.9 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.006517, allocations: 0 / 433.9 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.565e-05/0.006602, allocations: 77.88 kB / 434 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.006605, allocations: 0 / 434 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.502e-06/0.006611, allocations: 0 / 434 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.006612, allocations: 0 / 434 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.00662, allocations: 15.92 kB / 434 MB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.006621, allocations: 4 kB / 434 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.006624, allocations: 4.25 kB / 434 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.297e-05/0.006697, allocations: 89.02 kB / 434.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.006703, allocations: 4.016 kB / 434.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.006712, allocations: 4 kB / 434.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.102e-05/0.006723, allocations: 4 kB / 434.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.006748, allocations: 11.92 kB / 434.1 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.006752, allocations: 4 kB / 434.1 MB, free: 13.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.521e-05/0.006767, allocations: 16.78 kB / 434.1 MB, free: 13.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006767, allocations: 0 / 434.1 MB, free: 13.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001207/0.006888, allocations: 32 kB / 434.1 MB, free: 13.05 MB / 410.7 MB 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.0001001/0.006988, allocations: 84.41 kB / 434.2 MB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.007163, allocations: 255 kB / 434.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.007166, allocations: 0 / 434.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.274e-05/0.007189, allocations: 28.78 kB / 434.5 MB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.007294, allocations: 11.98 kB / 434.5 MB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/0.007535, allocations: 161.3 kB / 434.7 MB, free: 12.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.197e-05/0.007567, allocations: 59.34 kB / 434.7 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.807e-05/0.007585, allocations: 8 kB / 434.7 MB, free: 12.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.923e-05/0.007674, allocations: 83.28 kB / 434.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.007675, allocations: 0 / 434.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of Templates: time 0.003216/0.01089, allocations: 2.218 MB / 437 MB, free: 10.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.497867819853127]