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.0007749/0.0007745, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.00499/0.00499, allocations: 169.8 kB / 16.26 MB, free: 6.613 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001693/0.001693, allocations: 267.1 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9568/0.9568, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004172, allocations: 16.59 kB / 0.5987 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1574, allocations: 88.54 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.0007752/0.1582, allocations: 323.8 kB / 0.6854 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 3.764e-05/0.1583, allocations: 4 kB / 0.6854 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.351e-05/0.1583, allocations: 0 / 0.6854 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.1583, allocations: 0 / 0.6854 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.621e-06/0.1583, allocations: 0 / 0.6854 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.637e-05/0.1584, allocations: 2.625 kB / 0.6854 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.049e-05/0.1584, allocations: 0 / 0.6854 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.267e-05/0.1585, allocations: 4 kB / 0.6854 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.252e-05/0.1585, allocations: 3.938 kB / 0.6854 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.03e-05/0.1585, allocations: 0 / 0.6854 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1585, allocations: 0 / 0.6854 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-06/0.1585, allocations: 0 / 0.6854 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.1586, allocations: 1.719 kB / 0.6854 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.1586, allocations: 29.69 kB / 0.6855 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.967e-05/0.1586, allocations: 7.922 kB / 0.6855 GB, free: 14.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1587, allocations: 4 kB / 0.6855 GB, free: 14.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1587, allocations: 0 / 0.6855 GB, free: 14.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1587, allocations: 0.5312 kB / 0.6855 GB, free: 14.73 MB / 494.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.0002611/0.1589, allocations: 308.2 kB / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.159, allocations: 8.625 kB / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.159, allocations: 3.219 kB / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.518e-05/0.1591, allocations: 164.4 kB / 0.6859 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1591, allocations: 384 / 0.6859 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.1591, allocations: 384 / 0.6859 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.31e-05/0.1592, allocations: 34.23 kB / 0.686 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1592, allocations: 192 / 0.686 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1593, allocations: 4.5 kB / 0.686 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1593, allocations: 5.094 kB / 0.686 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.1593, allocations: 0 / 0.686 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.1595, allocations: 151.2 kB / 0.6861 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.747e-05/0.1595, allocations: 22.61 kB / 0.6862 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.1595, allocations: 10.7 kB / 0.6862 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.1595, allocations: 0 / 0.6862 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1596, allocations: 38.61 kB / 0.6862 GB, free: 13.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.1596, allocations: 0 / 0.6862 GB, free: 13.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000108/0.1597, allocations: 42.36 kB / 0.6862 GB, free: 13.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.1597, allocations: 52.03 kB / 0.6863 GB, free: 13.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.427e-05/0.1598, allocations: 93.3 kB / 0.6864 GB, free: 13.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1598, allocations: 29.64 kB / 0.6864 GB, free: 13.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.281e-05/0.1598, allocations: 80.14 kB / 0.6865 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.1599, allocations: 4.219 kB / 0.6865 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.1599, allocations: 9.719 kB / 0.6865 GB, free: 13.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.16, allocations: 314.8 kB / 0.6868 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-06/0.16, allocations: 0 / 0.6868 GB, free: 13.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-06/0.16, allocations: 5.031 kB / 0.6868 GB, free: 13.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.126e-05/0.16, allocations: 12.84 kB / 0.6868 GB, free: 13.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.16, allocations: 0.6562 kB / 0.6868 GB, free: 13.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.147e-05/0.1601, allocations: 34.52 kB / 0.6869 GB, free: 13.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1601, allocations: 4 kB / 0.6869 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1601, allocations: 4.719 kB / 0.6869 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.1601, allocations: 3.938 kB / 0.6869 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.03e-05/0.1602, allocations: 0.625 kB / 0.6869 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1602, allocations: 0 / 0.6869 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.187e-06/0.1602, allocations: 1.906 kB / 0.6869 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.1602, allocations: 0 / 0.6869 GB, free: 13.11 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 5.523e-05/0.1603, allocations: 111.2 kB / 0.687 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-06/0.1603, allocations: 4.219 kB / 0.687 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.548e-05/0.1603, allocations: 15.05 kB / 0.687 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1603, allocations: 0 / 0.687 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1603, allocations: 4 kB / 0.687 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1603, allocations: 0 / 0.687 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.047e-05/0.1604, allocations: 145.7 kB / 0.6871 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1604, allocations: 0 / 0.6871 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.316e-06/0.1604, allocations: 0 / 0.6871 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.1604, allocations: 0 / 0.6871 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1604, allocations: 3.938 kB / 0.6871 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1605, allocations: 3.984 kB / 0.6871 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1605, allocations: 7.938 kB / 0.6871 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.493e-05/0.1605, allocations: 61.08 kB / 0.6872 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.1606, allocations: 77.11 kB / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.1606, allocations: 3.938 kB / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.011e-06/0.1606, allocations: 0 / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-06/0.1606, allocations: 7.984 kB / 0.6873 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.1606, allocations: 0 / 0.6873 GB, free: 12.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.278e-05/0.1606, allocations: 79.31 kB / 0.6874 GB, free: 12.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1606, allocations: 0 / 0.6874 GB, free: 12.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001684/0.1608, allocations: 0 / 0.6874 GB, free: 12.5 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.01e-05/0.1609, allocations: 95.25 kB / 0.6875 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.776e-05/0.1609, allocations: 4 kB / 0.6875 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.161, allocations: 0 / 0.6875 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.192e-06/0.161, allocations: 7.875 kB / 0.6875 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.1611, allocations: 4 kB / 0.6875 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001472/0.1612, allocations: 82.8 kB / 0.6876 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.1615, allocations: 0.6731 MB / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.598e-06/0.1615, allocations: 0 / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.227e-05/0.1615, allocations: 7.438 kB / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1615, allocations: 0 / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of Templates: time 0.00181/0.1633, allocations: 159.3 kB / 0.6884 GB, free: 11.41 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)