Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime") translateModel(IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 110.5 kB / 16.41 MB, free: 6.492 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.00173/0.00173, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.724/0.724, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001228, allocations: 68.02 kB / 0.5576 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1654, allocations: 76.17 MB / 0.632 GB, free: 4.477 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.002133/0.1676, allocations: 0.5867 MB / 0.6326 GB, free: 3.891 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 5.109e-05/0.1677, allocations: 3.938 kB / 0.6326 GB, free: 3.887 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.1677, allocations: 4 kB / 0.6326 GB, free: 3.883 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.1678, allocations: 0 / 0.6326 GB, free: 3.883 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.703e-06/0.1678, allocations: 0 / 0.6326 GB, free: 3.883 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.034e-05/0.1678, allocations: 0 / 0.6326 GB, free: 3.883 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.706e-05/0.1679, allocations: 0 / 0.6326 GB, free: 3.883 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.976e-05/0.168, allocations: 4 kB / 0.6326 GB, free: 3.879 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.28e-05/0.168, allocations: 4 kB / 0.6326 GB, free: 3.875 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.145e-05/0.168, allocations: 4 kB / 0.6326 GB, free: 3.871 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.168, allocations: 3.938 kB / 0.6326 GB, free: 3.867 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.847e-06/0.168, allocations: 0 / 0.6326 GB, free: 3.867 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.1681, allocations: 0 / 0.6326 GB, free: 3.867 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.1681, allocations: 7.922 kB / 0.6326 GB, free: 3.859 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 6.185e-05/0.1682, allocations: 3.984 kB / 0.6326 GB, free: 3.855 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1682, allocations: 0 / 0.6326 GB, free: 3.855 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1682, allocations: 0 / 0.6326 GB, free: 3.855 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1682, allocations: 0 / 0.6326 GB, free: 3.855 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003369/0.1685, allocations: 307.6 kB / 0.6329 GB, free: 3.504 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1686, allocations: 16.06 kB / 0.6329 GB, free: 3.488 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.1686, allocations: 0.9375 kB / 0.6329 GB, free: 3.488 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1687, allocations: 168.4 kB / 0.6331 GB, free: 3.285 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1688, allocations: 384 / 0.6331 GB, free: 3.285 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.1688, allocations: 384 / 0.6331 GB, free: 3.285 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.1689, allocations: 26.27 kB / 0.6331 GB, free: 3.254 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.1689, allocations: 4.188 kB / 0.6331 GB, free: 3.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1689, allocations: 3.938 kB / 0.6331 GB, free: 3.246 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1689, allocations: 0 / 0.6331 GB, free: 3.246 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.1689, allocations: 3.938 kB / 0.6331 GB, free: 3.242 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.1691, allocations: 145.7 kB / 0.6333 GB, free: 3.051 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.547e-05/0.1692, allocations: 22.61 kB / 0.6333 GB, free: 3.02 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.1692, allocations: 12.83 kB / 0.6333 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.1692, allocations: 4.062 kB / 0.6333 GB, free: 3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1693, allocations: 30.56 kB / 0.6334 GB, free: 2.961 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.1693, allocations: 0 / 0.6334 GB, free: 2.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001302/0.1694, allocations: 41.58 kB / 0.6334 GB, free: 2.914 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.1695, allocations: 51.41 kB / 0.6334 GB, free: 2.852 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.801e-05/0.1695, allocations: 93.86 kB / 0.6335 GB, free: 2.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1695, allocations: 25.7 kB / 0.6336 GB, free: 2.719 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.305e-05/0.1696, allocations: 80.14 kB / 0.6336 GB, free: 2.637 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.1696, allocations: 4 kB / 0.6336 GB, free: 2.633 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.1696, allocations: 10.06 kB / 0.6336 GB, free: 2.617 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1697, allocations: 322.9 kB / 0.634 GB, free: 2.293 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.946e-06/0.1698, allocations: 3.938 kB / 0.634 GB, free: 2.289 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.1698, allocations: 4 kB / 0.634 GB, free: 2.285 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.517e-05/0.1698, allocations: 8.859 kB / 0.634 GB, free: 2.273 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1698, allocations: 0 / 0.634 GB, free: 2.273 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.559e-05/0.1699, allocations: 37.64 kB / 0.634 GB, free: 2.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1699, allocations: 4 kB / 0.634 GB, free: 2.227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1699, allocations: 0 / 0.634 GB, free: 2.227 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1699, allocations: 3.938 kB / 0.634 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.17, allocations: 8.094 kB / 0.634 GB, free: 2.215 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.17, allocations: 0 / 0.634 GB, free: 2.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.17, allocations: 3.906 kB / 0.634 GB, free: 2.211 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.17, allocations: 3.984 kB / 0.634 GB, free: 2.207 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.156e-05/0.1701, allocations: 105.8 kB / 0.6341 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-06/0.1701, allocations: 0 / 0.6341 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.848e-05/0.1702, allocations: 11.06 kB / 0.6341 GB, free: 2.082 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1702, allocations: 0 / 0.6341 GB, free: 2.082 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1702, allocations: 0 / 0.6341 GB, free: 2.082 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1702, allocations: 4 kB / 0.6341 GB, free: 2.078 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.324e-05/0.1703, allocations: 157.6 kB / 0.6343 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1703, allocations: 0 / 0.6343 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.449e-05/0.1703, allocations: 4 kB / 0.6343 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1703, allocations: 0 / 0.6343 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.1703, allocations: 3.938 kB / 0.6343 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1703, allocations: 0 / 0.6343 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1703, allocations: 0 / 0.6343 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.238e-05/0.1704, allocations: 65.08 kB / 0.6344 GB, free: 1.785 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.1705, allocations: 81.09 kB / 0.6344 GB, free: 1.688 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.1705, allocations: 3.938 kB / 0.6344 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-06/0.1705, allocations: 0 / 0.6344 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.1705, allocations: 0 / 0.6344 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.1705, allocations: 0 / 0.6344 GB, free: 1.684 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.71e-05/0.1705, allocations: 79.28 kB / 0.6345 GB, free: 1.605 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1705, allocations: 0 / 0.6345 GB, free: 1.605 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.1708, allocations: 4 kB / 0.6345 GB, free: 1.602 MB / 478.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001067/0.1709, allocations: 95.28 kB / 0.6346 GB, free: 1.496 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 7.604e-05/0.1709, allocations: 7.938 kB / 0.6346 GB, free: 1.488 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.171, allocations: 3.938 kB / 0.6346 GB, free: 1.484 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 5.19e-06/0.171, allocations: 0 / 0.6346 GB, free: 1.484 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.1711, allocations: 4 kB / 0.6346 GB, free: 1.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/0.1713, allocations: 81.06 kB / 0.6347 GB, free: 1.375 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1716, allocations: 0.6729 MB / 0.6354 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.272e-05/0.1716, allocations: 8.062 kB / 0.6354 GB, free: 0.668 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.746e-05/0.1716, allocations: 7.438 kB / 0.6354 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1716, allocations: 0 / 0.6354 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of Templates: time 0.001993/0.1736, allocations: 165.2 kB / 0.6355 GB, free: 0.5 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)