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.001348/0.001348, allocations: 88.22 kB / 20.42 MB, free: 4.141 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.001432/0.001432, allocations: 169.3 kB / 23.8 MB, free: 0.7656 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 1.051/1.051, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.6329/0.6329, allocations: 115 MB / 375.7 MB, free: 7.648 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.793e-06/1.793e-06, allocations: 0 / 481.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.453e-05, allocations: 5.891 kB / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00171/0.001734, allocations: 0.6505 MB / 482.2 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.003155, allocations: 1.236 MB / 483.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.003194, allocations: 1.156 kB / 483.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.003219, allocations: 6.438 kB / 483.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.229e-05/0.003282, allocations: 10.16 kB / 483.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.003851, allocations: 210 kB / 483.6 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.004077, allocations: 172.9 kB / 483.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.656e-05/0.004154, allocations: 7.109 kB / 483.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.004284, allocations: 96.69 kB / 483.9 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.004388, allocations: 51.45 kB / 483.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.00442, allocations: 15.84 kB / 484 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.99e-05/0.00449, allocations: 28.19 kB / 484 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.004512, allocations: 15 kB / 484 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.898e-05/0.004581, allocations: 49.03 kB / 484.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.004757, allocations: 131.8 kB / 484.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004759, allocations: 1.781 kB / 484.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.00476, allocations: 0.8438 kB / 484.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.004763, allocations: 0 / 484.2 MB, free: 10.37 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.0003595/0.005123, allocations: 469.7 kB / 484.6 MB, free: 9.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.005158, allocations: 11.03 kB / 484.7 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.005215, allocations: 17.73 kB / 484.7 MB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.49e-05/0.005279, allocations: 113 kB / 484.8 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.005296, allocations: 7.656 kB / 484.8 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.005325, allocations: 10.5 kB / 484.8 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.795e-05/0.005403, allocations: 41.64 kB / 484.8 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.005415, allocations: 4.547 kB / 484.8 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.005423, allocations: 1.188 kB / 484.8 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.005431, allocations: 1.469 kB / 484.8 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.164e-05/0.005463, allocations: 14.44 kB / 484.9 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.005799, allocations: 326.8 kB / 485.2 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.383e-05/0.005863, allocations: 39.69 kB / 485.2 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.005884, allocations: 11.5 kB / 485.2 MB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.005891, allocations: 2.062 kB / 485.2 MB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.005992, allocations: 90.2 kB / 485.3 MB, free: 9.312 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.005993, allocations: 0.6875 kB / 485.3 MB, free: 9.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002081/0.006201, allocations: 94.64 kB / 485.4 MB, free: 9.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.006225, allocations: 53.59 kB / 485.5 MB, free: 9.207 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.006473, allocations: 180.2 kB / 485.6 MB, free: 25.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.006499, allocations: 34.64 kB / 485.7 MB, free: 25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.00656, allocations: 136.2 kB / 485.8 MB, free: 24.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.006576, allocations: 25.09 kB / 485.8 MB, free: 24.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/0.006661, allocations: 53.19 kB / 485.9 MB, free: 24.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.006781, allocations: 0.4906 MB / 486.4 MB, free: 24.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.006911, allocations: 110.3 kB / 486.5 MB, free: 24.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.007045, allocations: 164 kB / 486.6 MB, free: 24.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.007184, allocations: 163.2 kB / 486.8 MB, free: 23.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.007186, allocations: 0 / 486.8 MB, free: 23.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003733/0.00756, allocations: 329.6 kB / 487.1 MB, free: 23.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.007593, allocations: 64.7 kB / 487.2 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.007598, allocations: 3.375 kB / 487.2 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.007614, allocations: 1.5 kB / 487.2 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.671e-05/0.007631, allocations: 5.25 kB / 487.2 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.007638, allocations: 7.219 kB / 487.2 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.007842, allocations: 46.08 kB / 487.3 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.007871, allocations: 14.98 kB / 487.3 MB, free: 23.68 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 8.985e-05/0.007961, allocations: 167.4 kB / 487.4 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.007977, allocations: 11.89 kB / 487.4 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.008004, allocations: 9.781 kB / 487.4 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.008007, allocations: 1.25 kB / 487.5 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.00801, allocations: 0.5938 kB / 487.5 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.008014, allocations: 0 / 487.5 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.293e-05/0.008087, allocations: 130.2 kB / 487.6 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.008088, allocations: 0 / 487.6 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-06/0.008095, allocations: 10.03 kB / 487.6 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008096, allocations: 0 / 487.6 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.008105, allocations: 9.031 kB / 487.6 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.008106, allocations: 1.531 kB / 487.6 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.008107, allocations: 0 / 487.6 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.008226, allocations: 114.7 kB / 487.7 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.008235, allocations: 6.234 kB / 487.7 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.008249, allocations: 5.875 kB / 487.7 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.589e-05/0.008265, allocations: 4 kB / 487.7 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.008301, allocations: 6.922 kB / 487.7 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.008307, allocations: 7.5 kB / 487.7 MB, free: 23.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.377e-05/0.008361, allocations: 133.4 kB / 487.9 MB, free: 23.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008361, allocations: 0 / 487.9 MB, free: 23.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002528/0.008614, allocations: 33.88 kB / 487.9 MB, free: 23.12 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.0001018/0.008716, allocations: 105.1 kB / 488 MB, free: 23.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.009008, allocations: 278.7 kB / 488.3 MB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.00901, allocations: 0 / 488.3 MB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.841e-05/0.009048, allocations: 24.44 kB / 488.3 MB, free: 22.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.009262, allocations: 22.33 kB / 488.3 MB, free: 22.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.009522, allocations: 154.8 kB / 488.5 MB, free: 22.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.998e-05/0.009552, allocations: 62.7 kB / 488.5 MB, free: 22.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.715e-05/0.009579, allocations: 8.25 kB / 488.5 MB, free: 22.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.0096, allocations: 13.5 kB / 488.6 MB, free: 22.57 MB / 426.7 MB Notification: Performance of SimCode: time 7.02e-07/0.009601, allocations: 0 / 488.6 MB, free: 22.57 MB / 426.7 MB Notification: Performance of Templates: time 0.00436/0.01396, allocations: 2.041 MB / 490.6 MB, free: 22.4 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.7258617277257144]