Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6971/0.6971, allocations: 128.7 MB / 144.5 MB, free: 1.375 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 190 kB / 174.2 MB, free: 5.934 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205 MB / 408.9 MB, free: 9.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009702/0.0009704, allocations: 106.3 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 56.84 kB / 0.558 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.139, allocations: 75.48 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002516/0.1416, allocations: 1.519 MB / 0.6332 GB, free: 31.48 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005886/0.1422, allocations: 484.1 kB / 0.6336 GB, free: 31 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.1423, allocations: 0 / 0.6336 GB, free: 31 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.898e-05/0.1423, allocations: 3.938 kB / 0.6336 GB, free: 31 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.893e-05/0.1424, allocations: 0 / 0.6336 GB, free: 31 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.1426, allocations: 23.92 kB / 0.6336 GB, free: 30.97 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.114e-05/0.1426, allocations: 55.91 kB / 0.6337 GB, free: 30.92 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1428, allocations: 11.98 kB / 0.6337 GB, free: 30.91 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.344e-05/0.1428, allocations: 23.86 kB / 0.6337 GB, free: 30.88 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.363e-05/0.1429, allocations: 15.92 kB / 0.6337 GB, free: 30.87 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1429, allocations: 7.938 kB / 0.6338 GB, free: 30.86 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.1429, allocations: 4 kB / 0.6338 GB, free: 30.86 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.1429, allocations: 7.984 kB / 0.6338 GB, free: 30.85 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.143, allocations: 31.84 kB / 0.6338 GB, free: 30.82 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.375e-05/0.1431, allocations: 35.88 kB / 0.6338 GB, free: 30.78 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1431, allocations: 8 kB / 0.6338 GB, free: 30.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1431, allocations: 0 / 0.6338 GB, free: 30.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1431, allocations: 0 / 0.6338 GB, free: 30.77 MB / 442.7 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.0004457/0.1435, allocations: 359.7 kB / 0.6342 GB, free: 30.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1436, allocations: 12.03 kB / 0.6342 GB, free: 30.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.1436, allocations: 0.9375 kB / 0.6342 GB, free: 30.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.1437, allocations: 176.2 kB / 0.6344 GB, free: 30.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1437, allocations: 384 / 0.6344 GB, free: 30.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.1438, allocations: 8.375 kB / 0.6344 GB, free: 30.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.988e-05/0.1439, allocations: 73.86 kB / 0.6344 GB, free: 30.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1439, allocations: 0 / 0.6344 GB, free: 30.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1439, allocations: 0 / 0.6344 GB, free: 30.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1439, allocations: 0 / 0.6344 GB, free: 30.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.149e-05/0.1439, allocations: 27.98 kB / 0.6345 GB, free: 30.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.1443, allocations: 296.8 kB / 0.6347 GB, free: 29.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.404e-05/0.1444, allocations: 54.56 kB / 0.6348 GB, free: 29.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/0.1445, allocations: 24.94 kB / 0.6348 GB, free: 29.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.1445, allocations: 0 / 0.6348 GB, free: 29.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.1446, allocations: 75.33 kB / 0.6349 GB, free: 29.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.1446, allocations: 0 / 0.6349 GB, free: 29.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001903/0.1448, allocations: 105.6 kB / 0.635 GB, free: 29.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.1449, allocations: 55.41 kB / 0.6351 GB, free: 29.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.417e-05/0.1449, allocations: 105.8 kB / 0.6352 GB, free: 29.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.1449, allocations: 33.7 kB / 0.6352 GB, free: 29.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.145, allocations: 88.11 kB / 0.6353 GB, free: 29.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.145, allocations: 19.72 kB / 0.6353 GB, free: 29.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.145, allocations: 33.64 kB / 0.6353 GB, free: 29.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.1451, allocations: 322.8 kB / 0.6356 GB, free: 28.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.923e-05/0.1451, allocations: 23.98 kB / 0.6356 GB, free: 28.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.1452, allocations: 43.42 kB / 0.6357 GB, free: 28.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.304e-05/0.1452, allocations: 63.38 kB / 0.6358 GB, free: 28.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1452, allocations: 0 / 0.6358 GB, free: 28.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001052/0.1454, allocations: 102.1 kB / 0.6358 GB, free: 28.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.1454, allocations: 8.031 kB / 0.6359 GB, free: 28.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.1454, allocations: 0 / 0.6359 GB, free: 28.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1454, allocations: 4 kB / 0.6359 GB, free: 28.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.1455, allocations: 11.94 kB / 0.6359 GB, free: 28.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1455, allocations: 3.984 kB / 0.6359 GB, free: 28.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.844e-05/0.1455, allocations: 15.84 kB / 0.6359 GB, free: 28.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1456, allocations: 4 kB / 0.6359 GB, free: 28.42 MB / 442.7 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 5.841e-05/0.1456, allocations: 125.7 kB / 0.636 GB, free: 28.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-06/0.1456, allocations: 4 kB / 0.636 GB, free: 28.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.1457, allocations: 15.95 kB / 0.636 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1457, allocations: 0 / 0.636 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1457, allocations: 4 kB / 0.636 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1457, allocations: 0 / 0.636 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.146, allocations: 358.3 kB / 0.6364 GB, free: 27.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.146, allocations: 0 / 0.6364 GB, free: 27.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.146, allocations: 4 kB / 0.6364 GB, free: 27.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.146, allocations: 0 / 0.6364 GB, free: 27.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.146, allocations: 4 kB / 0.6364 GB, free: 27.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.146, allocations: 7.922 kB / 0.6364 GB, free: 27.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.146, allocations: 7.984 kB / 0.6364 GB, free: 27.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1463, allocations: 0.7357 MB / 0.6371 GB, free: 27.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.1463, allocations: 89 kB / 0.6372 GB, free: 26.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1463, allocations: 8 kB / 0.6372 GB, free: 26.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.596e-05/0.1464, allocations: 12 kB / 0.6372 GB, free: 26.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.1465, allocations: 7.984 kB / 0.6372 GB, free: 26.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.1465, allocations: 4 kB / 0.6372 GB, free: 26.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.353e-05/0.1465, allocations: 87.27 kB / 0.6373 GB, free: 26.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1465, allocations: 0 / 0.6373 GB, free: 26.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003002/0.1468, allocations: 12 kB / 0.6373 GB, free: 26.81 MB / 442.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 (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 7.605e-05/0.1469, allocations: 101 kB / 0.6374 GB, free: 26.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.147, allocations: 63.8 kB / 0.6375 GB, free: 26.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.147, allocations: 0 / 0.6375 GB, free: 26.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.252e-05/0.1471, allocations: 27.98 kB / 0.6375 GB, free: 26.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1473, allocations: 15.86 kB / 0.6375 GB, free: 26.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.1477, allocations: 298.1 kB / 0.6378 GB, free: 26.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.1478, allocations: 0.6887 MB / 0.6385 GB, free: 25.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.547e-05/0.1479, allocations: 4 kB / 0.6385 GB, free: 25.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.1479, allocations: 11.44 kB / 0.6385 GB, free: 25.54 MB / 442.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1479, allocations: 0 / 0.6385 GB, free: 25.54 MB / 442.7 MB Notification: Performance of Templates: time 0.002229/0.1501, allocations: 0.7117 MB / 0.6392 GB, free: 24.82 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)