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.0009976/0.0009976, allocations: 92.22 kB / 20.43 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.001056/0.001056, allocations: 165 kB / 23.8 MB, free: 0.7695 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.045/1.045, 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.5846/0.5846, allocations: 114.9 MB / 375.7 MB, free: 7.652 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.114e-06/2.114e-06, allocations: 0 / 481.5 MB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.679e-05, allocations: 2.312 kB / 481.5 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00117/0.001186, allocations: 0.6462 MB / 482.2 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.002378, allocations: 1.231 MB / 483.4 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.002425, allocations: 0.5625 kB / 483.4 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.002457, allocations: 5.5 kB / 483.4 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.015e-05/0.002537, allocations: 19.14 kB / 483.4 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.003062, allocations: 214.8 kB / 483.6 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.003246, allocations: 170.1 kB / 483.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.805e-05/0.003334, allocations: 7.297 kB / 483.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.00345, allocations: 91.45 kB / 483.9 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.003556, allocations: 56.06 kB / 483.9 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.003592, allocations: 15.09 kB / 484 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.276e-05/0.003664, allocations: 24.11 kB / 484 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.003692, allocations: 16.8 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.488e-05/0.003757, allocations: 48.06 kB / 484.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.003931, allocations: 137.1 kB / 484.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003933, allocations: 1.219 kB / 484.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003934, allocations: 1.906 kB / 484.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.003938, allocations: 0 / 484.2 MB, free: 10.22 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.0003989/0.004337, allocations: 463 kB / 484.6 MB, free: 9.766 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.004384, allocations: 8.656 kB / 484.6 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.004457, allocations: 18.14 kB / 484.7 MB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.875e-05/0.004536, allocations: 116.5 kB / 484.8 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.004553, allocations: 5.031 kB / 484.8 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.004577, allocations: 9.344 kB / 484.8 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.004678, allocations: 51.17 kB / 484.8 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.004687, allocations: 4.172 kB / 484.8 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.004696, allocations: 384 / 484.8 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.004703, allocations: 2.719 kB / 484.9 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.909e-05/0.004732, allocations: 13.22 kB / 484.9 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.005085, allocations: 328 kB / 485.2 MB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.527e-05/0.00516, allocations: 42.36 kB / 485.2 MB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.396e-05/0.005184, allocations: 14.75 kB / 485.2 MB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.005192, allocations: 2.312 kB / 485.2 MB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.005295, allocations: 82.5 kB / 485.3 MB, free: 9.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.005296, allocations: 1.062 kB / 485.3 MB, free: 9.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002357/0.005531, allocations: 93.81 kB / 485.4 MB, free: 9.121 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.005562, allocations: 59.25 kB / 485.5 MB, free: 9.055 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.005767, allocations: 176.8 kB / 485.6 MB, free: 24.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.005788, allocations: 33.42 kB / 485.7 MB, free: 24.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.005846, allocations: 147.1 kB / 485.8 MB, free: 24.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.005858, allocations: 11.7 kB / 485.8 MB, free: 24.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/0.005927, allocations: 52.33 kB / 485.9 MB, free: 24.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.006061, allocations: 0.4903 MB / 486.4 MB, free: 24.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.006179, allocations: 113.2 kB / 486.5 MB, free: 24.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.006297, allocations: 159.2 kB / 486.6 MB, free: 23.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.006423, allocations: 162.3 kB / 486.8 MB, free: 23.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.006427, allocations: 2.969 kB / 486.8 MB, free: 23.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003235/0.006751, allocations: 324.1 kB / 487.1 MB, free: 23.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.006785, allocations: 67.91 kB / 487.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.006791, allocations: 1.688 kB / 487.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.006807, allocations: 1.969 kB / 487.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-05/0.006825, allocations: 3.188 kB / 487.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.006831, allocations: 2.344 kB / 487.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.007002, allocations: 46.08 kB / 487.2 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.007024, allocations: 14.55 kB / 487.3 MB, free: 23.55 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 7.87e-05/0.007102, allocations: 169.4 kB / 487.4 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.007113, allocations: 8 kB / 487.4 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.007136, allocations: 11.5 kB / 487.4 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007137, allocations: 0 / 487.4 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.007142, allocations: 2.438 kB / 487.4 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.007146, allocations: 7.422 kB / 487.4 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.547e-05/0.007221, allocations: 125.4 kB / 487.6 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007222, allocations: 1.531 kB / 487.6 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-06/0.007228, allocations: 6.469 kB / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.00723, allocations: 0 / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.007239, allocations: 9.609 kB / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.007241, allocations: 1.125 kB / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.007242, allocations: 3.984 kB / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.007348, allocations: 116.3 kB / 487.7 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.007356, allocations: 7.234 kB / 487.7 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.007368, allocations: 9.938 kB / 487.7 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.007378, allocations: 6.781 kB / 487.7 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.007416, allocations: 0 / 487.7 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.007421, allocations: 6.734 kB / 487.7 MB, free: 23.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.415e-05/0.007465, allocations: 133.2 kB / 487.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007465, allocations: 0 / 487.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.007631, allocations: 31.41 kB / 487.9 MB, free: 22.98 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.0001145/0.007745, allocations: 104.8 kB / 488 MB, free: 22.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.008019, allocations: 278.5 kB / 488.3 MB, free: 22.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.008021, allocations: 0 / 488.3 MB, free: 22.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.36e-05/0.008055, allocations: 29.42 kB / 488.3 MB, free: 22.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.008219, allocations: 19.48 kB / 488.3 MB, free: 22.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/0.008482, allocations: 162.9 kB / 488.5 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.665e-05/0.008509, allocations: 56.86 kB / 488.5 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.224e-05/0.008531, allocations: 7.219 kB / 488.5 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.008553, allocations: 13.22 kB / 488.6 MB, free: 22.42 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008553, allocations: 0 / 488.6 MB, free: 22.42 MB / 426.7 MB Notification: Performance of Templates: time 0.003976/0.01253, allocations: 2.247 MB / 490.8 MB, free: 22.23 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.430466579273343]