Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 116.2 kB / 17.09 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 192.7 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7894/0.7894, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001762, allocations: 64.19 kB / 0.5583 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1918, allocations: 76.19 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.004206/0.196, allocations: 1.45 MB / 0.6341 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1974, allocations: 450.9 kB / 0.6345 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.1975, allocations: 0 / 0.6345 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.459e-05/0.1975, allocations: 3.938 kB / 0.6345 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.1977, allocations: 7.922 kB / 0.6346 GB, free: 2.508 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.1979, allocations: 23.91 kB / 0.6346 GB, free: 2.484 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1981, allocations: 51.84 kB / 0.6346 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1982, allocations: 12 kB / 0.6346 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.396e-05/0.1983, allocations: 23.86 kB / 0.6347 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.1984, allocations: 23.91 kB / 0.6347 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.1984, allocations: 4 kB / 0.6347 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/0.1985, allocations: 4 kB / 0.6347 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.439e-05/0.1985, allocations: 15.98 kB / 0.6347 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.48e-05/0.1986, allocations: 19.86 kB / 0.6347 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1988, allocations: 47.83 kB / 0.6348 GB, free: 2.285 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.1988, allocations: 0 / 0.6348 GB, free: 2.285 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1988, allocations: 3.938 kB / 0.6348 GB, free: 2.281 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1988, allocations: 0 / 0.6348 GB, free: 2.281 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007375/0.1996, allocations: 359.5 kB / 0.6351 GB, free: 1.883 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1996, allocations: 8.031 kB / 0.6351 GB, free: 1.875 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.747e-05/0.1997, allocations: 8.844 kB / 0.6351 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.1999, allocations: 184.2 kB / 0.6353 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.2, allocations: 4.375 kB / 0.6353 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.2, allocations: 4.375 kB / 0.6353 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.2002, allocations: 58 kB / 0.6354 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2002, allocations: 3.984 kB / 0.6354 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.2003, allocations: 0 / 0.6354 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.2003, allocations: 7.984 kB / 0.6354 GB, free: 1.566 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.2004, allocations: 31.92 kB / 0.6354 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000777/0.2012, allocations: 292.7 kB / 0.6357 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.2014, allocations: 54.59 kB / 0.6357 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.822e-05/0.2015, allocations: 28.94 kB / 0.6358 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.2015, allocations: 8 kB / 0.6358 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.2018, allocations: 67.39 kB / 0.6358 GB, free: 1.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 2.335e-06/0.2019, allocations: 0 / 0.6358 GB, free: 1.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003551/0.2022, allocations: 101.5 kB / 0.6359 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.2023, allocations: 51.41 kB / 0.636 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.2024, allocations: 105.8 kB / 0.6361 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.2025, allocations: 29.7 kB / 0.6361 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.2026, allocations: 92.08 kB / 0.6362 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.2026, allocations: 31.62 kB / 0.6362 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.599e-05/0.2027, allocations: 25.72 kB / 0.6363 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2029, allocations: 322.8 kB / 0.6366 GB, free: 228 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.203, allocations: 16.38 kB / 0.6366 GB, free: 212 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.2031, allocations: 51.3 kB / 0.6366 GB, free: 148 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.2033, allocations: 71.36 kB / 0.6367 GB, free: 64 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.2033, allocations: 0 / 0.6367 GB, free: 64 kB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002676/0.2036, allocations: 97.45 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.2037, allocations: 8 kB / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2037, allocations: 4.062 kB / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2037, allocations: 0 / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.912e-05/0.2038, allocations: 8 kB / 0.6368 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2038, allocations: 7.938 kB / 0.6368 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.204, allocations: 16.02 kB / 0.6368 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.204, allocations: 4 kB / 0.6368 GB, free: 15.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.000146/0.2041, allocations: 123 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.2042, allocations: 3.984 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.2042, allocations: 11.97 kB / 0.637 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2043, allocations: 0 / 0.637 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2043, allocations: 0 / 0.637 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.2043, allocations: 3.984 kB / 0.637 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006667/0.205, allocations: 362.3 kB / 0.6373 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.205, allocations: 4 kB / 0.6373 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.904e-05/0.2051, allocations: 0 / 0.6373 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.2051, allocations: 7.938 kB / 0.6373 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.2051, allocations: 4 kB / 0.6373 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.2051, allocations: 3.938 kB / 0.6373 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2051, allocations: 0 / 0.6373 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.2054, allocations: 179.5 kB / 0.6375 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.2055, allocations: 89.02 kB / 0.6376 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.2055, allocations: 0 / 0.6376 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.2056, allocations: 11.92 kB / 0.6376 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.2057, allocations: 7.984 kB / 0.6376 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.2058, allocations: 4 kB / 0.6376 GB, free: 15.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.974e-05/0.2058, allocations: 79.28 kB / 0.6377 GB, free: 14.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.62e-07/0.2059, allocations: 192 / 0.6377 GB, free: 14.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004655/0.2063, allocations: 16 kB / 0.6377 GB, free: 14.92 MB / 494.1 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 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001437/0.2065, allocations: 107.2 kB / 0.6378 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.2067, allocations: 51.92 kB / 0.6379 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.2068, allocations: 0 / 0.6379 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.472e-05/0.2069, allocations: 31.86 kB / 0.6379 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.2074, allocations: 13.41 kB / 0.6379 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006646/0.208, allocations: 191.2 kB / 0.6381 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.2084, allocations: 0.6846 MB / 0.6388 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.2085, allocations: 11.44 kB / 0.6388 GB, free: 13.77 MB / 494.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2085, allocations: 0 / 0.6388 GB, free: 13.77 MB / 494.1 MB Notification: Performance of Templates: time 0.003948/0.2125, allocations: 0.8659 MB / 0.6396 GB, free: 12.91 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)