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.001441/0.001441, allocations: 104.2 kB / 16.4 MB, free: 6.512 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.001717/0.001717, allocations: 196 kB / 17.34 MB, free: 5.742 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7134/0.7134, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 65.62 kB / 0.5576 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1524, allocations: 76.18 MB / 0.632 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001675/0.1542, allocations: 0.5764 MB / 0.6326 GB, free: 3.848 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 4.429e-05/0.1542, allocations: 4 kB / 0.6326 GB, free: 3.844 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.1543, allocations: 0 / 0.6326 GB, free: 3.844 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.1543, allocations: 0 / 0.6326 GB, free: 3.844 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.883e-06/0.1543, allocations: 0 / 0.6326 GB, free: 3.844 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.525e-05/0.1544, allocations: 4 kB / 0.6326 GB, free: 3.84 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.756e-05/0.1544, allocations: 0 / 0.6326 GB, free: 3.84 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.1545, allocations: 3.938 kB / 0.6326 GB, free: 3.836 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.576e-05/0.1545, allocations: 4 kB / 0.6326 GB, free: 3.832 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.834e-05/0.1545, allocations: 0 / 0.6326 GB, free: 3.832 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.1545, allocations: 0 / 0.6326 GB, free: 3.832 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.349e-06/0.1545, allocations: 4 kB / 0.6326 GB, free: 3.828 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.1545, allocations: 0 / 0.6326 GB, free: 3.828 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.1546, allocations: 7.875 kB / 0.6326 GB, free: 3.82 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 6.085e-05/0.1546, allocations: 7.984 kB / 0.6326 GB, free: 3.812 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1547, allocations: 0 / 0.6326 GB, free: 3.812 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1547, allocations: 0 / 0.6326 GB, free: 3.812 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1547, allocations: 0 / 0.6326 GB, free: 3.812 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.0002831/0.155, allocations: 311.6 kB / 0.6329 GB, free: 3.457 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.155, allocations: 8.031 kB / 0.6329 GB, free: 3.449 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.367e-05/0.155, allocations: 0.9375 kB / 0.6329 GB, free: 3.449 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.819e-05/0.1551, allocations: 164.4 kB / 0.6331 GB, free: 3.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1551, allocations: 4.375 kB / 0.6331 GB, free: 3.246 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.1552, allocations: 384 / 0.6331 GB, free: 3.246 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.1552, allocations: 26.27 kB / 0.6331 GB, free: 3.215 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1553, allocations: 192 / 0.6331 GB, free: 3.215 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1553, allocations: 3.938 kB / 0.6331 GB, free: 3.211 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1553, allocations: 4 kB / 0.6331 GB, free: 3.207 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.031e-05/0.1553, allocations: 11.94 kB / 0.6332 GB, free: 3.195 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.1554, allocations: 149.7 kB / 0.6333 GB, free: 3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.539e-05/0.1555, allocations: 14.58 kB / 0.6333 GB, free: 2.977 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.1555, allocations: 12.94 kB / 0.6333 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.1555, allocations: 0 / 0.6333 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1555, allocations: 38.56 kB / 0.6334 GB, free: 2.914 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1556, allocations: 4 kB / 0.6334 GB, free: 2.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001335/0.1557, allocations: 37.58 kB / 0.6334 GB, free: 2.867 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.1557, allocations: 51.41 kB / 0.6334 GB, free: 2.805 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.39e-05/0.1558, allocations: 89.86 kB / 0.6335 GB, free: 2.707 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.1558, allocations: 25.7 kB / 0.6336 GB, free: 2.676 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.1558, allocations: 80.14 kB / 0.6336 GB, free: 2.594 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.1559, allocations: 0 / 0.6336 GB, free: 2.594 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.1559, allocations: 22.12 kB / 0.6337 GB, free: 2.566 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.156, allocations: 318.8 kB / 0.634 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.156, allocations: 0 / 0.634 GB, free: 2.246 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-06/0.156, allocations: 0 / 0.634 GB, free: 2.246 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.306e-05/0.1561, allocations: 8.859 kB / 0.634 GB, free: 2.234 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1561, allocations: 0 / 0.634 GB, free: 2.234 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.618e-05/0.1561, allocations: 33.64 kB / 0.634 GB, free: 2.195 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1561, allocations: 8 kB / 0.634 GB, free: 2.188 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1561, allocations: 4.094 kB / 0.634 GB, free: 2.184 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1562, allocations: 3.938 kB / 0.634 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.741e-05/0.1562, allocations: 0 / 0.634 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1562, allocations: 0 / 0.634 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.1563, allocations: 11.91 kB / 0.634 GB, free: 2.168 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.1563, allocations: 0 / 0.634 GB, free: 2.168 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 6.594e-05/0.1563, allocations: 113.8 kB / 0.6341 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-06/0.1563, allocations: 0 / 0.6341 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.514e-05/0.1564, allocations: 7.062 kB / 0.6341 GB, free: 2.039 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1564, allocations: 4 kB / 0.6341 GB, free: 2.035 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1564, allocations: 0 / 0.6341 GB, free: 2.035 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1564, allocations: 4 kB / 0.6341 GB, free: 2.031 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.548e-05/0.1565, allocations: 145.6 kB / 0.6343 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1565, allocations: 3.984 kB / 0.6343 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.777e-06/0.1565, allocations: 0 / 0.6343 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1565, allocations: 0 / 0.6343 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1565, allocations: 7.938 kB / 0.6343 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1565, allocations: 0 / 0.6343 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1565, allocations: 0 / 0.6343 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.387e-05/0.1566, allocations: 61.08 kB / 0.6344 GB, free: 1.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.1567, allocations: 77.11 kB / 0.6344 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.1567, allocations: 11.92 kB / 0.6344 GB, free: 1.645 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-06/0.1567, allocations: 0 / 0.6344 GB, free: 1.645 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.1567, allocations: 3.984 kB / 0.6344 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1567, allocations: 4 kB / 0.6344 GB, free: 1.637 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.861e-05/0.1567, allocations: 79.28 kB / 0.6345 GB, free: 1.559 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1567, allocations: 0 / 0.6345 GB, free: 1.559 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001862/0.1569, allocations: 4.031 kB / 0.6345 GB, free: 1.555 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.0001089/0.1571, allocations: 99.19 kB / 0.6346 GB, free: 1.445 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 8.525e-05/0.1571, allocations: 11.94 kB / 0.6346 GB, free: 1.434 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1572, allocations: 0 / 0.6346 GB, free: 1.434 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.488e-06/0.1572, allocations: 0 / 0.6346 GB, free: 1.434 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.1573, allocations: 1.406 kB / 0.6346 GB, free: 1.434 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001801/0.1575, allocations: 81.19 kB / 0.6347 GB, free: 1.328 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1577, allocations: 0.6729 MB / 0.6354 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.089e-05/0.1577, allocations: 0 / 0.6354 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.59e-05/0.1578, allocations: 7.438 kB / 0.6354 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1578, allocations: 0 / 0.6354 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of Templates: time 0.001765/0.1595, allocations: 169 kB / 0.6355 GB, free: 468 kB / 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)