Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.544/1.544, allocations: 292.3 MB / 308.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 194.4 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.1 MB / 0.6353 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009856/0.000986, allocations: 97.58 kB / 0.748 GB, free: 61.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009911/0.0009912, allocations: 51.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2282, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001927/0.2302, allocations: 0.6589 MB / 0.9829 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 4.091e-05/0.2303, allocations: 0 / 0.9829 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.789e-05/0.2303, allocations: 0 / 0.9829 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.2304, allocations: 0 / 0.9829 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.15e-06/0.2304, allocations: 0 / 0.9829 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.265e-05/0.2304, allocations: 0 / 0.9829 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.204e-05/0.2305, allocations: 7.984 kB / 0.9829 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.2305, allocations: 0 / 0.9829 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.454e-05/0.2306, allocations: 7.984 kB / 0.9829 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 1.761e-05/0.2306, allocations: 7.938 kB / 0.9829 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.2306, allocations: 0 / 0.9829 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.586e-06/0.2306, allocations: 0 / 0.9829 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.2306, allocations: 0 / 0.9829 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.2306, allocations: 4 kB / 0.9829 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 4.602e-05/0.2307, allocations: 0 / 0.9829 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2307, allocations: 0 / 0.9829 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2307, allocations: 3.938 kB / 0.9829 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.2307, allocations: 0 / 0.9829 GB, free: 9.719 MB / 0.7136 GB 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.0002997/0.231, allocations: 311.6 kB / 0.9832 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2311, allocations: 12.03 kB / 0.9832 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.2311, allocations: 0.9375 kB / 0.9832 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.788e-05/0.2312, allocations: 160.4 kB / 0.9834 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2312, allocations: 384 / 0.9834 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.2312, allocations: 4.375 kB / 0.9834 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.2314, allocations: 34.2 kB / 0.9834 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.2314, allocations: 192 / 0.9834 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2314, allocations: 3.938 kB / 0.9834 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2314, allocations: 0 / 0.9834 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.2314, allocations: 0 / 0.9834 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.2316, allocations: 153.7 kB / 0.9835 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.536e-05/0.2316, allocations: 18.52 kB / 0.9836 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.2316, allocations: 12.95 kB / 0.9836 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/0.2317, allocations: 0 / 0.9836 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2317, allocations: 34.56 kB / 0.9836 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.2317, allocations: 3.938 kB / 0.9836 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001217/0.2318, allocations: 41.58 kB / 0.9836 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.2319, allocations: 55.41 kB / 0.9837 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.74e-05/0.2319, allocations: 89.86 kB / 0.9838 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.2319, allocations: 29.69 kB / 0.9838 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.232, allocations: 84.14 kB / 0.9839 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.232, allocations: 3.906 kB / 0.9839 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.232, allocations: 9.719 kB / 0.9839 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2321, allocations: 315 kB / 0.9842 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/0.2321, allocations: 4 kB / 0.9842 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.2322, allocations: 4 kB / 0.9842 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.49e-05/0.2322, allocations: 8.859 kB / 0.9842 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2322, allocations: 0 / 0.9842 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.483e-05/0.2323, allocations: 37.64 kB / 0.9843 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2323, allocations: 4 kB / 0.9843 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.2323, allocations: 3.984 kB / 0.9843 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2323, allocations: 7.938 kB / 0.9843 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.293e-05/0.2324, allocations: 4.094 kB / 0.9843 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.2324, allocations: 3.984 kB / 0.9843 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.011e-05/0.2324, allocations: 0 / 0.9843 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.2324, allocations: 0 / 0.9843 GB, free: 8.066 MB / 0.7136 GB 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.442e-05/0.2325, allocations: 114.1 kB / 0.9844 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.2325, allocations: 3.984 kB / 0.9844 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.736e-05/0.2325, allocations: 7.062 kB / 0.9844 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2325, allocations: 0 / 0.9844 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2325, allocations: 0 / 0.9844 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2325, allocations: 4 kB / 0.9844 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.705e-05/0.2326, allocations: 153.7 kB / 0.9845 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2326, allocations: 0 / 0.9845 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.268e-05/0.2327, allocations: 0 / 0.9845 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2327, allocations: 0 / 0.9845 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.2327, allocations: 3.938 kB / 0.9846 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2327, allocations: 3.938 kB / 0.9846 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2327, allocations: 0 / 0.9846 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.233, allocations: 0.6045 MB / 0.9851 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.233, allocations: 81.05 kB / 0.9852 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.2331, allocations: 7.922 kB / 0.9852 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-06/0.2331, allocations: 0 / 0.9852 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.2331, allocations: 4 kB / 0.9852 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.2331, allocations: 0 / 0.9852 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.491e-05/0.2331, allocations: 75.28 kB / 0.9853 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.2331, allocations: 3.938 kB / 0.9853 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002543/0.2334, allocations: 4.031 kB / 0.9853 GB, free: 6.871 MB / 0.7136 GB 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 9.754e-05/0.2335, allocations: 95.25 kB / 0.9854 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.949e-05/0.2336, allocations: 4 kB / 0.9854 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2336, allocations: 4 kB / 0.9854 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.909e-06/0.2336, allocations: 0 / 0.9854 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.2337, allocations: 3.938 kB / 0.9854 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002296/0.2339, allocations: 181.6 kB / 0.9856 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.2341, allocations: 0.673 MB / 0.9862 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.305e-05/0.2342, allocations: 0 / 0.9862 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.25e-05/0.2342, allocations: 11.44 kB / 0.9863 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.2342, allocations: 0 / 0.9863 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of Templates: time 0.001463/0.2357, allocations: 161.2 kB / 0.9864 GB, free: 5.668 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_8_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)