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.00177/0.00177, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 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.002259/0.002259, allocations: 221.6 kB / 23.01 MB, free: 5.047 MB / 14.72 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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 1.016/1.016, allocations: 150 MB / 463.1 MB, free: 10.56 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 62.34 kB / 0.6417 GB, free: 9.988 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.2009, allocations: 89.18 MB / 0.7288 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002438/0.2033, allocations: 0.7567 MB / 0.7296 GB, free: 120 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.2053, allocations: 1.28 MB / 0.7308 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.912e-05/0.2054, allocations: 4 kB / 0.7308 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.335e-05/0.2055, allocations: 11.86 kB / 0.7308 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.745e-05/0.2056, allocations: 15.81 kB / 0.7308 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007507/0.2063, allocations: 246.8 kB / 0.7311 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000321/0.2066, allocations: 259.5 kB / 0.7313 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.2068, allocations: 45.28 kB / 0.7314 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.2069, allocations: 99.8 kB / 0.7315 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.2071, allocations: 95.69 kB / 0.7316 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.2072, allocations: 32 kB / 0.7316 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.346e-05/0.2072, allocations: 39.97 kB / 0.7316 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.2073, allocations: 35.91 kB / 0.7317 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.2074, allocations: 91.69 kB / 0.7317 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.2077, allocations: 243.1 kB / 0.732 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.2077, allocations: 0 / 0.732 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2077, allocations: 4 kB / 0.732 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.2077, allocations: 0 / 0.732 GB, free: 13.63 MB / 0.5606 GB 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.0006596/0.2084, allocations: 425.2 kB / 0.7324 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2084, allocations: 12.03 kB / 0.7324 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.2085, allocations: 24.84 kB / 0.7324 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/0.209, allocations: 174.4 kB / 0.7326 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.209, allocations: 16.36 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.2091, allocations: 24.38 kB / 0.7326 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.2093, allocations: 106.2 kB / 0.7327 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2093, allocations: 7.875 kB / 0.7327 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.2093, allocations: 11.94 kB / 0.7327 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.2093, allocations: 4 kB / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.2094, allocations: 59.91 kB / 0.7328 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000752/0.2102, allocations: 443.3 kB / 0.7332 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.2104, allocations: 122.7 kB / 0.7333 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.331e-05/0.2105, allocations: 60.83 kB / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.2105, allocations: 0 / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003304/0.2109, allocations: 175.2 kB / 0.7336 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.363e-06/0.2109, allocations: 0 / 0.7336 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.0005349/0.2114, allocations: 317.5 kB / 0.7339 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.2115, allocations: 67.33 kB / 0.7339 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.2116, allocations: 157.7 kB / 0.7341 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/0.2116, allocations: 37.7 kB / 0.7341 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.2117, allocations: 109 kB / 0.7342 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.2118, allocations: 71.48 kB / 0.7343 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.2119, allocations: 94.05 kB / 0.7344 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2121, allocations: 330.8 kB / 0.7347 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.2123, allocations: 104.8 kB / 0.7348 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.2125, allocations: 177.6 kB / 0.735 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.213, allocations: 282.9 kB / 0.7352 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.213, allocations: 0 / 0.7352 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006704/0.2136, allocations: 426.3 kB / 0.7357 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.208e-05/0.2137, allocations: 63.39 kB / 0.7357 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2137, allocations: 4 kB / 0.7357 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.224e-05/0.2138, allocations: 4 kB / 0.7357 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.2138, allocations: 28.05 kB / 0.7357 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.2138, allocations: 7.938 kB / 0.7358 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.2142, allocations: 71.72 kB / 0.7358 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.2142, allocations: 23.98 kB / 0.7358 GB, free: 9.383 MB / 0.5606 GB 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,tru.y,fal.y,truCleTruIni.clr,truCleFalIni.clr,falCleTruIni.clr,falCleFalIni.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) * 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 0.0001847/0.2144, allocations: 153.8 kB / 0.736 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.2144, allocations: 15.91 kB / 0.736 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.2145, allocations: 21.97 kB / 0.736 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2145, allocations: 3.938 kB / 0.736 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.2145, allocations: 3.984 kB / 0.736 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.2145, allocations: 7.938 kB / 0.736 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008134/0.2153, allocations: 0.5962 MB / 0.7366 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2153, allocations: 7.984 kB / 0.7366 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.2153, allocations: 4 kB / 0.7366 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2153, allocations: 4 kB / 0.7366 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.2153, allocations: 4 kB / 0.7366 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.361e-06/0.2153, allocations: 11.88 kB / 0.7367 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2153, allocations: 0 / 0.7367 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.2158, allocations: 360.2 kB / 0.737 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.2158, allocations: 15.84 kB / 0.737 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.2159, allocations: 15.98 kB / 0.737 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-05/0.2159, allocations: 4 kB / 0.737 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.216, allocations: 15.97 kB / 0.737 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.216, allocations: 15.98 kB / 0.7371 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.397e-05/0.2161, allocations: 105.3 kB / 0.7372 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2161, allocations: 0 / 0.7372 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003194/0.2164, allocations: 56 kB / 0.7372 GB, free: 7.906 MB / 0.5606 GB 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 0.0002099/0.2166, allocations: 121.2 kB / 0.7373 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005615/0.2172, allocations: 347.2 kB / 0.7377 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2172, allocations: 0 / 0.7377 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.2173, allocations: 100.3 kB / 0.7378 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.2177, allocations: 25.3 kB / 0.7378 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.2183, allocations: 329.1 kB / 0.7381 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.2187, allocations: 0.7173 MB / 0.7388 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.438e-05/0.2188, allocations: 26.28 kB / 0.7388 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.2188, allocations: 23.44 kB / 0.7388 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.2188, allocations: 3.938 kB / 0.7388 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of Templates: time 0.006621/0.2254, allocations: 2.834 MB / 0.7416 GB, free: 3.332 MB / 0.5606 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.126566185615957] Failed to read output from testmodel.py, exit status != 0: 0.2338765417225659 0.24745995699999995 0.036764006 Calling exit ...