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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.799/0.799, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 191.7 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.5 MB / 436.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008762/0.0008762, allocations: 88.06 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001733/0.001734, allocations: 291.5 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.189e-05/1.184e-05, allocations: 0 / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3911, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.5464, allocations: 107.2 MB / 0.862 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.5467, allocations: 68.56 kB / 0.8621 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004842/0.5472, allocations: 380.9 kB / 0.8624 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5472, allocations: 0 / 0.8624 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.5472, allocations: 0 / 0.8624 GB, free: 4.297 MB / 0.5261 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.0002301/0.5474, allocations: 302.6 kB / 0.8627 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.5475, allocations: 8.031 kB / 0.8627 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.5475, allocations: 0 / 0.8627 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.5476, allocations: 163.1 kB / 0.8629 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.5476, allocations: 3.953 kB / 0.8629 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.5477, allocations: 0 / 0.8629 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.474e-05/0.5477, allocations: 7.938 kB / 0.8629 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.853e-05/0.5478, allocations: 29.7 kB / 0.8629 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.5478, allocations: 0 / 0.8629 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.5478, allocations: 0 / 0.8629 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5478, allocations: 0 / 0.8629 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.5479, allocations: 126.2 kB / 0.8631 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.627e-05/0.548, allocations: 18.61 kB / 0.8631 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.037e-05/0.548, allocations: 4.859 kB / 0.8631 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.548, allocations: 12 kB / 0.8631 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.548, allocations: 38.5 kB / 0.8631 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.548, allocations: 0 / 0.8631 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 9.221e-05/0.5481, allocations: 37.64 kB / 0.8632 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.5482, allocations: 51.41 kB / 0.8632 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.543e-05/0.5482, allocations: 85 kB / 0.8633 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.5482, allocations: 29.64 kB / 0.8633 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.875e-05/0.5483, allocations: 84.17 kB / 0.8634 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.5483, allocations: 2.672 kB / 0.8634 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-06/0.5483, allocations: 0 / 0.8634 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5484, allocations: 310.8 kB / 0.8637 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-06/0.5484, allocations: 4 kB / 0.8637 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.5484, allocations: 0 / 0.8637 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.606e-05/0.5485, allocations: 0 / 0.8637 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5485, allocations: 0 / 0.8637 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.695e-05/0.5485, allocations: 41.62 kB / 0.8637 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.5486, allocations: 12.09 kB / 0.8638 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.5486, allocations: 0 / 0.8638 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5486, allocations: 3.953 kB / 0.8638 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.897e-05/0.5486, allocations: 0 / 0.8638 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.5486, allocations: 2.891 kB / 0.8638 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.5487, allocations: 7.984 kB / 0.8638 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.5487, allocations: 0 / 0.8638 GB, free: 2.746 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.5487, allocations: 105 kB / 0.8639 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-06/0.5488, allocations: 0 / 0.8639 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.435e-05/0.5488, allocations: 7.75 kB / 0.8639 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5488, allocations: 0 / 0.8639 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5488, allocations: 3.953 kB / 0.8639 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.5488, allocations: 4 kB / 0.8639 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.663e-05/0.5489, allocations: 126.2 kB / 0.864 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5489, allocations: 0 / 0.864 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.5489, allocations: 0 / 0.864 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5489, allocations: 0 / 0.864 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.5489, allocations: 0 / 0.864 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5489, allocations: 4 kB / 0.864 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5489, allocations: 0 / 0.864 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.361e-05/0.549, allocations: 72.86 kB / 0.8641 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.549, allocations: 77.11 kB / 0.8641 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.5491, allocations: 0 / 0.8641 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-06/0.5491, allocations: 4 kB / 0.8642 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.5491, allocations: 4 kB / 0.8642 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.5491, allocations: 0 / 0.8642 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.415e-05/0.5491, allocations: 75.28 kB / 0.8642 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5491, allocations: 4.031 kB / 0.8642 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002193/0.5494, allocations: 0 / 0.8642 GB, free: 2.188 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.014e-05/0.5495, allocations: 99.2 kB / 0.8643 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 4.36e-05/0.5495, allocations: 0 / 0.8643 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5495, allocations: 0 / 0.8643 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.691e-06/0.5495, allocations: 7.938 kB / 0.8643 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.203e-05/0.5496, allocations: 0.6875 kB / 0.8643 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001303/0.5498, allocations: 48.19 kB / 0.8644 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.55, allocations: 0.6767 MB / 0.865 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.204e-05/0.55, allocations: 0 / 0.865 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.332e-05/0.55, allocations: 7.438 kB / 0.865 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.55, allocations: 0 / 0.865 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of Templates: time 0.001541/0.5516, allocations: 157.6 kB / 0.8652 GB, free: 1.145 MB / 0.5261 GB 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)