Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime") translateModel(Annex60.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.324/0.324, allocations: 54.33 MB / 66.89 MB, free: 6.105 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009773/0.0009772, allocations: 180.8 kB / 80.71 MB, free: 15.41 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.392/1.392, allocations: 194.2 MB / 288.6 MB, free: 15.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001498/0.001498, allocations: 114.2 kB / 346.9 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.74e-05/2.743e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 57.63 MB / 470 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3482/0.4556, allocations: 84.77 MB / 0.5418 GB, free: 5.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.4558, allocations: 71.95 kB / 0.5419 GB, free: 5.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.000385/0.4562, allocations: 382.9 kB / 0.5422 GB, free: 5.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4562, allocations: 0 / 0.5422 GB, free: 5.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.4563, allocations: 5.688 kB / 0.5422 GB, free: 5.234 MB / 378.7 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.0001678/0.4564, allocations: 306.6 kB / 0.5425 GB, free: 4.891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.4565, allocations: 8.031 kB / 0.5425 GB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.4565, allocations: 0 / 0.5425 GB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.032e-05/0.4566, allocations: 163.1 kB / 0.5427 GB, free: 4.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.4566, allocations: 0 / 0.5427 GB, free: 4.684 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.4566, allocations: 4 kB / 0.5427 GB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.619e-05/0.4567, allocations: 29.66 kB / 0.5427 GB, free: 4.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.4567, allocations: 3.984 kB / 0.5427 GB, free: 4.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.4568, allocations: 0 / 0.5427 GB, free: 4.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.4568, allocations: 0 / 0.5427 GB, free: 4.641 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.752e-05/0.4568, allocations: 4 kB / 0.5427 GB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.4569, allocations: 145.7 kB / 0.5429 GB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.204e-05/0.457, allocations: 22.52 kB / 0.5429 GB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.457, allocations: 8.953 kB / 0.5429 GB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.457, allocations: 0 / 0.5429 GB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.457, allocations: 30.56 kB / 0.5429 GB, free: 4.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.4571, allocations: 4 kB / 0.5429 GB, free: 4.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001022/0.4572, allocations: 38.27 kB / 0.543 GB, free: 4.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.4572, allocations: 63.38 kB / 0.543 GB, free: 4.242 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.198e-05/0.4572, allocations: 85.77 kB / 0.5431 GB, free: 4.152 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.4573, allocations: 25.7 kB / 0.5431 GB, free: 4.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.4573, allocations: 80.14 kB / 0.5432 GB, free: 4.039 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.4573, allocations: 3.906 kB / 0.5432 GB, free: 4.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-06/0.4573, allocations: 0 / 0.5432 GB, free: 4.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4575, allocations: 310.8 kB / 0.5435 GB, free: 3.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-06/0.4575, allocations: 0 / 0.5435 GB, free: 3.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.4575, allocations: 10.08 kB / 0.5435 GB, free: 3.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.779e-05/0.4575, allocations: 4 kB / 0.5435 GB, free: 3.711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.4575, allocations: 0 / 0.5435 GB, free: 3.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.269e-05/0.4576, allocations: 33.7 kB / 0.5436 GB, free: 3.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.4576, allocations: 4 kB / 0.5436 GB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4576, allocations: 3.984 kB / 0.5436 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.4576, allocations: 0 / 0.5436 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.046e-05/0.4577, allocations: 0 / 0.5436 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4577, allocations: 7.953 kB / 0.5436 GB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-06/0.4577, allocations: 96 / 0.5436 GB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.4577, allocations: 7.938 kB / 0.5436 GB, free: 3.648 MB / 378.7 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 () * 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 7.054e-05/0.4578, allocations: 108.9 kB / 0.5437 GB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-06/0.4578, allocations: 3.984 kB / 0.5437 GB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.856e-05/0.4578, allocations: 7.078 kB / 0.5437 GB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.4578, allocations: 0 / 0.5437 GB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4578, allocations: 4 kB / 0.5437 GB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.4578, allocations: 3.953 kB / 0.5437 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.944e-05/0.4579, allocations: 147.8 kB / 0.5438 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4579, allocations: 0 / 0.5438 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-06/0.458, allocations: 7.938 kB / 0.5438 GB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.458, allocations: 4 kB / 0.5439 GB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.458, allocations: 4 kB / 0.5439 GB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.458, allocations: 0 / 0.5439 GB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.458, allocations: 0 / 0.5439 GB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.742e-05/0.4581, allocations: 57.08 kB / 0.5439 GB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.4581, allocations: 77.11 kB / 0.544 GB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.4581, allocations: 6 kB / 0.544 GB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-06/0.4581, allocations: 4.031 kB / 0.544 GB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.4581, allocations: 3.938 kB / 0.544 GB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.4581, allocations: 0 / 0.544 GB, free: 3.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.507e-05/0.4582, allocations: 75.28 kB / 0.5441 GB, free: 3.059 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4582, allocations: 0 / 0.5441 GB, free: 3.059 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001842/0.4584, allocations: 4 kB / 0.5441 GB, free: 3.055 MB / 378.7 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 () * 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 8.799e-05/0.4585, allocations: 95.2 kB / 0.5442 GB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.501e-05/0.4585, allocations: 8 kB / 0.5442 GB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4585, allocations: 0 / 0.5442 GB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.444e-06/0.4585, allocations: 4 kB / 0.5442 GB, free: 2.941 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.727e-05/0.4586, allocations: 0 / 0.5442 GB, free: 2.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001414/0.4588, allocations: 45.05 kB / 0.5442 GB, free: 2.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.459, allocations: 0.6731 MB / 0.5449 GB, free: 2.176 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.441e-05/0.4591, allocations: 0 / 0.5449 GB, free: 2.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.36e-05/0.4591, allocations: 11.38 kB / 0.5449 GB, free: 2.168 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4591, allocations: 0 / 0.5449 GB, free: 2.168 MB / 378.7 MB Notification: Performance of Templates: time 0.001389/0.4605, allocations: 164.6 kB / 0.545 GB, free: 2.008 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe 2>&1)