Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001125/0.001125, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001133/0.001133, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.316/1.316, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002001/0.002001, allocations: 283.2 kB / 290.4 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9434/0.9434, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 96.41 kB / 0.5947 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1691, allocations: 86.98 MB / 0.6796 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001721/0.1709, allocations: 0.6441 MB / 0.6802 GB, free: 416 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 3.818e-05/0.1709, allocations: 4 kB / 0.6803 GB, free: 412 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.494e-05/0.1709, allocations: 0.7812 kB / 0.6803 GB, free: 412 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.171, allocations: 0 / 0.6803 GB, free: 412 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.171, allocations: 0.625 kB / 0.6803 GB, free: 412 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.575e-05/0.171, allocations: 0 / 0.6803 GB, free: 412 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.621e-05/0.1711, allocations: 0.875 kB / 0.6803 GB, free: 412 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.1711, allocations: 7.938 kB / 0.6803 GB, free: 404 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.154e-05/0.1712, allocations: 4.469 kB / 0.6803 GB, free: 400 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.633e-05/0.1712, allocations: 4.984 kB / 0.6803 GB, free: 396 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.185e-06/0.1712, allocations: 0 / 0.6803 GB, free: 396 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.597e-06/0.1712, allocations: 0 / 0.6803 GB, free: 396 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.1712, allocations: 1.062 kB / 0.6803 GB, free: 396 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.1712, allocations: 0 / 0.6803 GB, free: 396 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 4.305e-05/0.1713, allocations: 0 / 0.6803 GB, free: 396 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1713, allocations: 8 kB / 0.6803 GB, free: 388 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1713, allocations: 0 / 0.6803 GB, free: 388 kB / 478.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1713, allocations: 0 / 0.6803 GB, free: 388 kB / 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.0002589/0.1716, allocations: 311.5 kB / 0.6806 GB, free: 24 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1716, allocations: 12.06 kB / 0.6806 GB, free: 12 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.054e-05/0.1716, allocations: 4.875 kB / 0.6806 GB, free: 8 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1718, allocations: 160.4 kB / 0.6807 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.1718, allocations: 384 / 0.6807 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.1718, allocations: 384 / 0.6807 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.014e-05/0.1719, allocations: 42.25 kB / 0.6808 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1719, allocations: 192 / 0.6808 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.1719, allocations: 3.938 kB / 0.6808 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1719, allocations: 4 kB / 0.6808 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.433e-05/0.1719, allocations: 0 / 0.6808 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.172, allocations: 149.7 kB / 0.6809 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.206e-05/0.1721, allocations: 22.45 kB / 0.681 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.1721, allocations: 12.95 kB / 0.681 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/0.1721, allocations: 0 / 0.681 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1721, allocations: 30.56 kB / 0.681 GB, free: 15.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1722, allocations: 0 / 0.681 GB, free: 15.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001066/0.1723, allocations: 41.62 kB / 0.681 GB, free: 15.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.1723, allocations: 55.34 kB / 0.6811 GB, free: 15.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.289e-05/0.1723, allocations: 89.86 kB / 0.6812 GB, free: 15.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1724, allocations: 29.7 kB / 0.6812 GB, free: 15.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.207e-05/0.1724, allocations: 84.27 kB / 0.6813 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.1724, allocations: 4.219 kB / 0.6813 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.1724, allocations: 9.719 kB / 0.6813 GB, free: 15.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1725, allocations: 314.8 kB / 0.6816 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-06/0.1726, allocations: 4 kB / 0.6816 GB, free: 14.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-06/0.1726, allocations: 0 / 0.6816 GB, free: 14.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.141e-05/0.1726, allocations: 8.859 kB / 0.6816 GB, free: 14.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1726, allocations: 64 / 0.6816 GB, free: 14.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.988e-05/0.1727, allocations: 37.69 kB / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1727, allocations: 4 kB / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1727, allocations: 0 / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1727, allocations: 11.81 kB / 0.6817 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.585e-05/0.1728, allocations: 4 kB / 0.6817 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1728, allocations: 0 / 0.6817 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.276e-06/0.1728, allocations: 0 / 0.6817 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-06/0.1728, allocations: 0 / 0.6817 GB, free: 14.73 MB / 494.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.018e-05/0.1729, allocations: 119.2 kB / 0.6818 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-06/0.1729, allocations: 0 / 0.6818 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.632e-05/0.1729, allocations: 11.05 kB / 0.6818 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1729, allocations: 0 / 0.6818 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1729, allocations: 0 / 0.6818 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1729, allocations: 0 / 0.6818 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.056e-05/0.173, allocations: 141.7 kB / 0.6819 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.173, allocations: 0 / 0.6819 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.876e-06/0.173, allocations: 4 kB / 0.6819 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.173, allocations: 3.984 kB / 0.6819 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.173, allocations: 3.938 kB / 0.6819 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.173, allocations: 7.938 kB / 0.6819 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.173, allocations: 3.984 kB / 0.682 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.691e-05/0.1731, allocations: 61.08 kB / 0.682 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.1731, allocations: 77.11 kB / 0.6821 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.1732, allocations: 3.938 kB / 0.6821 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.081e-06/0.1732, allocations: 0 / 0.6821 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.1732, allocations: 4 kB / 0.6821 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.1732, allocations: 8.031 kB / 0.6821 GB, free: 14.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.466e-05/0.1732, allocations: 79.27 kB / 0.6822 GB, free: 14.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1732, allocations: 0 / 0.6822 GB, free: 14.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001669/0.1734, allocations: 0 / 0.6822 GB, free: 14.12 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: 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 8.433e-05/0.1735, allocations: 91.25 kB / 0.6823 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.608e-05/0.1736, allocations: 8 kB / 0.6823 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1736, allocations: 0 / 0.6823 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.732e-06/0.1736, allocations: 4 kB / 0.6823 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.1737, allocations: 4.125 kB / 0.6823 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001598/0.1739, allocations: 83.8 kB / 0.6824 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1742, allocations: 0.6729 MB / 0.683 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.977e-06/0.1742, allocations: 0 / 0.683 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/0.1742, allocations: 7.438 kB / 0.683 GB, free: 13.19 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1742, allocations: 0 / 0.683 GB, free: 13.19 MB / 494.1 MB Notification: Performance of Templates: time 0.001663/0.1759, allocations: 176.8 kB / 0.6832 GB, free: 13.02 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)