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.3185/0.3185, allocations: 54.4 MB / 61.89 MB, free: 13.71 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.001724/0.001723, allocations: 179.6 kB / 75.61 MB, free: 0.7734 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.721/1.721, allocations: 194.3 MB / 283.5 MB, free: 14.87 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.001677/0.001677, allocations: 117.8 kB / 341.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.871e-05, allocations: 0 / 405.5 MB, free: 4.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3919, allocations: 57.64 MB / 463.1 MB, free: 51.81 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.5253, allocations: 84.11 MB / 0.5344 GB, free: 1.098 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.5256, allocations: 67.97 kB / 0.5345 GB, free: 1.031 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0005006/0.5261, allocations: 375.4 kB / 0.5349 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5261, allocations: 0 / 0.5349 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.5262, allocations: 3.688 kB / 0.5349 GB, free: 0.6641 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.0003042/0.5265, allocations: 306.5 kB / 0.5352 GB, free: 328 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.5265, allocations: 12.09 kB / 0.5352 GB, free: 316 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.5266, allocations: 0 / 0.5352 GB, free: 316 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.5267, allocations: 160.5 kB / 0.5353 GB, free: 116 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.5267, allocations: 0 / 0.5353 GB, free: 116 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.5268, allocations: 3.938 kB / 0.5353 GB, free: 112 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.536e-05/0.5268, allocations: 0 / 0.5353 GB, free: 112 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.2e-05/0.5269, allocations: 34.16 kB / 0.5354 GB, free: 72 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5269, allocations: 1.469 kB / 0.5354 GB, free: 72 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.527, allocations: 0 / 0.5354 GB, free: 72 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.527, allocations: 0 / 0.5354 GB, free: 72 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.5271, allocations: 128.3 kB / 0.5355 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.839e-05/0.5272, allocations: 19.98 kB / 0.5355 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.5272, allocations: 4.859 kB / 0.5355 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.5272, allocations: 0 / 0.5355 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.5273, allocations: 43.91 kB / 0.5355 GB, free: 15.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.5273, allocations: 0 / 0.5355 GB, free: 15.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001604/0.5275, allocations: 35.47 kB / 0.5356 GB, free: 15.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.5275, allocations: 52.61 kB / 0.5356 GB, free: 15.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.13e-05/0.5275, allocations: 85.97 kB / 0.5357 GB, free: 15.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.5276, allocations: 25.7 kB / 0.5357 GB, free: 15.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.5276, allocations: 80.98 kB / 0.5358 GB, free: 15.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.5276, allocations: 3.906 kB / 0.5358 GB, free: 15.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.5276, allocations: 0.6562 kB / 0.5358 GB, free: 15.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.5278, allocations: 317.4 kB / 0.5361 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-06/0.5278, allocations: 0 / 0.5361 GB, free: 15.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-06/0.5278, allocations: 6.531 kB / 0.5361 GB, free: 15.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.644e-05/0.5278, allocations: 4 kB / 0.5361 GB, free: 15.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5278, allocations: 0 / 0.5361 GB, free: 15.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.61e-05/0.5279, allocations: 35.28 kB / 0.5362 GB, free: 15.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.5279, allocations: 8 kB / 0.5362 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5279, allocations: 0.9062 kB / 0.5362 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5279, allocations: 0 / 0.5362 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.528, allocations: 5.094 kB / 0.5362 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.528, allocations: 0 / 0.5362 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.528, allocations: 3.953 kB / 0.5362 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.528, allocations: 7.281 kB / 0.5362 GB, free: 15.14 MB / 394.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 6.584e-05/0.5281, allocations: 101 kB / 0.5363 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-06/0.5281, allocations: 3.984 kB / 0.5363 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.5281, allocations: 5.188 kB / 0.5363 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.5281, allocations: 0 / 0.5363 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5282, allocations: 3.031 kB / 0.5363 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.5282, allocations: 0 / 0.5363 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.382e-05/0.5283, allocations: 132.3 kB / 0.5364 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.5283, allocations: 3.938 kB / 0.5364 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-06/0.5283, allocations: 2.062 kB / 0.5364 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.5283, allocations: 1.969 kB / 0.5364 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.5283, allocations: 0 / 0.5364 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5283, allocations: 3.984 kB / 0.5364 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5283, allocations: 4 kB / 0.5364 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.484e-05/0.5284, allocations: 63.91 kB / 0.5365 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.5284, allocations: 77.8 kB / 0.5366 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.5284, allocations: 0 / 0.5366 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.5285, allocations: 0 / 0.5366 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.5285, allocations: 0 / 0.5366 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.5285, allocations: 5.281 kB / 0.5366 GB, free: 14.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.812e-05/0.5285, allocations: 79.27 kB / 0.5367 GB, free: 14.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5285, allocations: 0 / 0.5367 GB, free: 14.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.5287, allocations: 0.9375 kB / 0.5367 GB, free: 14.6 MB / 394.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 9.706e-05/0.5288, allocations: 93.94 kB / 0.5367 GB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.156e-05/0.5289, allocations: 4 kB / 0.5367 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5289, allocations: 0 / 0.5367 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.5289, allocations: 0 / 0.5367 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001055/0.529, allocations: 7.953 kB / 0.5368 GB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.5293, allocations: 47.67 kB / 0.5368 GB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.5296, allocations: 0.678 MB / 0.5375 GB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.942e-05/0.5296, allocations: 0 / 0.5375 GB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.5297, allocations: 7.438 kB / 0.5375 GB, free: 13.71 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5297, allocations: 0.9375 kB / 0.5375 GB, free: 13.71 MB / 394.7 MB Notification: Performance of Templates: time 0.001809/0.5315, allocations: 147.7 kB / 0.5376 GB, free: 13.59 MB / 394.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)