Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.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.001481/0.001481, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001004/0.001004, allocations: 171.6 kB / 24.84 MB, free: 9.246 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.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.6457/0.6457, allocations: 115 MB / 376.8 MB, free: 7.488 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.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 482.8 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.431e-05, allocations: 2.859 kB / 482.8 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001158/0.001172, allocations: 0.7524 MB / 483.5 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.002254, allocations: 1.288 MB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.002309, allocations: 1.906 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.002339, allocations: 11.81 kB / 484.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.949e-05/0.002409, allocations: 15.7 kB / 484.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.002867, allocations: 242.2 kB / 485.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.003063, allocations: 256.6 kB / 485.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.003167, allocations: 39.12 kB / 485.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.003301, allocations: 149.1 kB / 485.5 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.003416, allocations: 87.62 kB / 485.6 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.003447, allocations: 20.34 kB / 485.6 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.003519, allocations: 30.75 kB / 485.6 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.003548, allocations: 37.95 kB / 485.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.003606, allocations: 70.88 kB / 485.8 MB, free: 10 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.00377, allocations: 184.6 kB / 485.9 MB, free: 9.918 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003771, allocations: 1.125 kB / 485.9 MB, free: 9.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.3e-07/0.003772, allocations: 0 / 485.9 MB, free: 9.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.003776, allocations: 0.625 kB / 485.9 MB, free: 9.918 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0003613/0.004137, allocations: 0.5077 MB / 486.4 MB, free: 9.434 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.004169, allocations: 9.625 kB / 486.5 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.004224, allocations: 35.34 kB / 486.5 MB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.004356, allocations: 158.9 kB / 486.6 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.004372, allocations: 14.09 kB / 486.7 MB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.0044, allocations: 23.62 kB / 486.7 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.004524, allocations: 86.84 kB / 486.8 MB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.004531, allocations: 192 / 486.8 MB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.004541, allocations: 9.031 kB / 486.8 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.004548, allocations: 4.531 kB / 486.8 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.822e-05/0.004586, allocations: 32.97 kB / 486.8 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.00491, allocations: 415.5 kB / 487.2 MB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.00502, allocations: 101.9 kB / 487.3 MB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.005055, allocations: 40.33 kB / 487.4 MB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/0.005062, allocations: 2.812 kB / 487.4 MB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.005194, allocations: 165.5 kB / 487.5 MB, free: 8.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.263e-06/0.005195, allocations: 3.938 kB / 487.5 MB, free: 8.746 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002901/0.005486, allocations: 278.3 kB / 487.8 MB, free: 8.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.00551, allocations: 62.34 kB / 487.9 MB, free: 8.594 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.005696, allocations: 216.3 kB / 488.1 MB, free: 24.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.005719, allocations: 40.23 kB / 488.1 MB, free: 24.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.005779, allocations: 158.2 kB / 488.3 MB, free: 24.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.005808, allocations: 70.08 kB / 488.3 MB, free: 24.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.433e-05/0.005892, allocations: 105.6 kB / 488.4 MB, free: 24.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.005999, allocations: 0.5002 MB / 488.9 MB, free: 23.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.006095, allocations: 129.9 kB / 489.1 MB, free: 23.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.006211, allocations: 212.8 kB / 489.3 MB, free: 23.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.006361, allocations: 261.4 kB / 489.5 MB, free: 23.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.006364, allocations: 0 / 489.5 MB, free: 23.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000339/0.006703, allocations: 443.9 kB / 490 MB, free: 22.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.006732, allocations: 72.84 kB / 490 MB, free: 22.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.006737, allocations: 1.438 kB / 490 MB, free: 22.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.006748, allocations: 3.75 kB / 490 MB, free: 22.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-05/0.006769, allocations: 10.66 kB / 490 MB, free: 22.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.006775, allocations: 8.125 kB / 490.1 MB, free: 22.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.006938, allocations: 65 kB / 490.1 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.006962, allocations: 16.03 kB / 490.1 MB, free: 22.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,falCleFalIni.clr,falCleTruIni.clr,truCleFalIni.clr,truCleTruIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,fal.y,tru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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.012e-05/0.007052, allocations: 197.1 kB / 490.3 MB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.007074, allocations: 27 kB / 490.3 MB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.007101, allocations: 23.25 kB / 490.4 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.007104, allocations: 2.719 kB / 490.4 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.007106, allocations: 2.156 kB / 490.4 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.007109, allocations: 3.938 kB / 490.4 MB, free: 22.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.00752, allocations: 0.539 MB / 490.9 MB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.007522, allocations: 1.094 kB / 490.9 MB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.114e-05/0.007533, allocations: 3.625 kB / 490.9 MB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.007536, allocations: 5.203 kB / 490.9 MB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.007545, allocations: 6.906 kB / 490.9 MB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.007547, allocations: 5.281 kB / 490.9 MB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007548, allocations: 7.922 kB / 490.9 MB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.007756, allocations: 380.7 kB / 491.3 MB, free: 22.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.007767, allocations: 16.91 kB / 491.3 MB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.007781, allocations: 14.62 kB / 491.4 MB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.76e-05/0.007819, allocations: 5.094 kB / 491.4 MB, free: 22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.00785, allocations: 25.25 kB / 491.4 MB, free: 22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.007868, allocations: 13.73 kB / 491.4 MB, free: 22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.105e-05/0.007909, allocations: 133.9 kB / 491.5 MB, free: 21.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007909, allocations: 0 / 491.5 MB, free: 21.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.008119, allocations: 68.53 kB / 491.6 MB, free: 21.86 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: 32 (swiCleInp1.clr,swiCleInp.clr,truCleFalIni.u,swiCleInp1.u,swiCleInp.u,truCleTruIni.u,falCleTruIni.u,falCleFalIni.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 9.352e-05/0.008213, allocations: 109.7 kB / 491.7 MB, free: 21.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002779/0.008491, allocations: 379.9 kB / 492.1 MB, free: 21.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.008492, allocations: 0 / 492.1 MB, free: 21.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.705e-05/0.008559, allocations: 93.56 kB / 492.2 MB, free: 21.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.008762, allocations: 28.42 kB / 492.2 MB, free: 21.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.009057, allocations: 302.3 kB / 492.5 MB, free: 21.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.434e-05/0.009091, allocations: 77.58 kB / 492.6 MB, free: 21.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.185e-05/0.009133, allocations: 23.59 kB / 492.6 MB, free: 21.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.009247, allocations: 127.1 kB / 492.7 MB, free: 21.15 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009248, allocations: 0 / 492.7 MB, free: 21.15 MB / 426.7 MB Notification: Performance of Templates: time 0.004522/0.01377, allocations: 3.143 MB / 495.8 MB, free: 20.84 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4979621809907258]