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.0009428/0.0009428, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.0009978/0.0009978, allocations: 169 kB / 24.05 MB, free: 456 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 1.099/1.099, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.6339/0.6339, allocations: 115 MB / 376 MB, free: 7.477 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 2.454e-06/2.454e-06, allocations: 0 / 482 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.882e-05, allocations: 3.188 kB / 482 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00189/0.001918, allocations: 0.6446 MB / 482.6 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.003652, allocations: 1.228 MB / 483.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.003712, allocations: 0 / 483.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.428e-05/0.003746, allocations: 8.031 kB / 483.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.851e-05/0.003844, allocations: 14.12 kB / 483.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006833/0.004528, allocations: 211.2 kB / 484.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.004788, allocations: 178.2 kB / 484.3 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.004889, allocations: 6.688 kB / 484.3 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.005059, allocations: 95.62 kB / 484.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.005204, allocations: 49.09 kB / 484.4 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.005247, allocations: 14.91 kB / 484.4 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9e-05/0.005337, allocations: 29.25 kB / 484.4 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.005366, allocations: 10.52 kB / 484.5 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.521e-05/0.005441, allocations: 52.86 kB / 484.5 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.005656, allocations: 132.9 kB / 484.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.005659, allocations: 1.125 kB / 484.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.00566, allocations: 0.5938 kB / 484.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.005665, allocations: 3.938 kB / 484.6 MB, free: 10.16 MB / 410.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.0004802/0.006146, allocations: 468.6 kB / 485.1 MB, free: 9.703 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.006205, allocations: 10.41 kB / 485.1 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.532e-05/0.00628, allocations: 16.31 kB / 485.1 MB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.78e-05/0.006368, allocations: 112.7 kB / 485.2 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.00639, allocations: 5.562 kB / 485.2 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.006422, allocations: 9.219 kB / 485.3 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.804e-05/0.00652, allocations: 47.56 kB / 485.3 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.006531, allocations: 2.312 kB / 485.3 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.006539, allocations: 384 / 485.3 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.006548, allocations: 5 kB / 485.3 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.531e-05/0.006574, allocations: 10.22 kB / 485.3 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.006988, allocations: 307 kB / 485.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.779e-05/0.007075, allocations: 38.72 kB / 485.7 MB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.0071, allocations: 15.33 kB / 485.7 MB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.007109, allocations: 1.5 kB / 485.7 MB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.007242, allocations: 80.36 kB / 485.7 MB, free: 9.145 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/0.007244, allocations: 2.062 kB / 485.8 MB, free: 9.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002339/0.007478, allocations: 96.19 kB / 485.8 MB, free: 9.094 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.007513, allocations: 52.72 kB / 485.9 MB, free: 9.031 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.642e-05/0.00761, allocations: 180.8 kB / 486.1 MB, free: 8.855 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.007638, allocations: 29.67 kB / 486.1 MB, free: 8.824 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.007993, allocations: 146.9 kB / 486.2 MB, free: 24.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.008009, allocations: 11.36 kB / 486.3 MB, free: 24.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.751e-05/0.008107, allocations: 55.19 kB / 486.3 MB, free: 24.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.008232, allocations: 499.3 kB / 486.8 MB, free: 24.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.008352, allocations: 104.7 kB / 486.9 MB, free: 24.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.008492, allocations: 150.3 kB / 487 MB, free: 23.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.008646, allocations: 160 kB / 487.2 MB, free: 23.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.008649, allocations: 0 / 487.2 MB, free: 23.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005155/0.009165, allocations: 305.3 kB / 487.5 MB, free: 23.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.896e-05/0.009224, allocations: 72.77 kB / 487.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.009233, allocations: 2.281 kB / 487.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.009251, allocations: 3.094 kB / 487.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.219e-05/0.009273, allocations: 4.656 kB / 487.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.009279, allocations: 5.031 kB / 487.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.009477, allocations: 45.84 kB / 487.6 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.0095, allocations: 11.88 kB / 487.6 MB, free: 23.54 MB / 426.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 9.984e-05/0.0096, allocations: 173 kB / 487.8 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.009617, allocations: 9.312 kB / 487.8 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.009651, allocations: 17.88 kB / 487.8 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.009655, allocations: 1.094 kB / 487.8 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.009658, allocations: 0 / 487.8 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.009664, allocations: 2.312 kB / 487.8 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.009771, allocations: 112 kB / 488 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.009772, allocations: 1.156 kB / 488 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-06/0.009781, allocations: 2.688 kB / 488 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.009783, allocations: 1.219 kB / 488 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.00979, allocations: 4.656 kB / 488 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.009791, allocations: 0.75 kB / 488 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.009793, allocations: 3.938 kB / 488 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.009937, allocations: 114.7 kB / 488.1 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.009948, allocations: 6.359 kB / 488.1 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.009958, allocations: 2.531 kB / 488.1 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.076e-05/0.009978, allocations: 4.984 kB / 488.1 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.01001, allocations: 8.734 kB / 488.1 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.01002, allocations: 7.312 kB / 488.1 MB, free: 23.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.797e-05/0.01007, allocations: 132.2 kB / 488.2 MB, free: 23 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01007, allocations: 1.281 kB / 488.2 MB, free: 23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00018/0.01025, allocations: 30.88 kB / 488.3 MB, free: 22.99 MB / 426.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.0001449/0.01039, allocations: 100.7 kB / 488.4 MB, free: 22.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.01063, allocations: 262.4 kB / 488.6 MB, free: 22.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01063, allocations: 0.875 kB / 488.6 MB, free: 22.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.091e-05/0.01066, allocations: 34.38 kB / 488.7 MB, free: 22.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.01088, allocations: 21.8 kB / 488.7 MB, free: 22.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.01119, allocations: 149 kB / 488.8 MB, free: 22.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.887e-05/0.01123, allocations: 60.73 kB / 488.9 MB, free: 22.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.315e-05/0.01126, allocations: 5.219 kB / 488.9 MB, free: 22.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.0114, allocations: 105.6 kB / 489 MB, free: 22.39 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0114, allocations: 3.938 kB / 489 MB, free: 22.39 MB / 426.7 MB Notification: Performance of Templates: time 0.004254/0.01565, allocations: 2.229 MB / 491.2 MB, free: 22.2 MB / 426.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.57637230027467]