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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3005/0.3005, allocations: 54.39 MB / 61.67 MB, free: 11.16 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.00115/0.00115, allocations: 184.3 kB / 75.37 MB, free: 1.527 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.477/1.477, allocations: 194.2 MB / 283.2 MB, free: 3.496 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001783/0.001783, allocations: 113.3 kB / 341.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.971e-06/6.011e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1259, allocations: 57.64 MB / 462.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2886/0.4145, allocations: 84.03 MB / 0.5338 GB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.4148, allocations: 70.89 kB / 0.5339 GB, free: 13.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.0003645/0.4151, allocations: 53.5 kB / 0.5339 GB, free: 13.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.4152, allocations: 2.781 kB / 0.5339 GB, free: 13.14 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.0002077/0.4154, allocations: 309.1 kB / 0.5342 GB, free: 12.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.4154, allocations: 15.97 kB / 0.5342 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.4155, allocations: 3.906 kB / 0.5342 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.589e-05/0.4155, allocations: 159.1 kB / 0.5344 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.4156, allocations: 0 / 0.5344 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-06/0.4156, allocations: 0 / 0.5344 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.116e-05/0.4156, allocations: 4 kB / 0.5344 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.782e-05/0.4157, allocations: 33.69 kB / 0.5344 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.4157, allocations: 0 / 0.5344 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.4157, allocations: 0 / 0.5344 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.4157, allocations: 0 / 0.5344 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.4158, allocations: 130.1 kB / 0.5345 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.252e-05/0.4159, allocations: 22.55 kB / 0.5346 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.4159, allocations: 12.61 kB / 0.5346 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.4159, allocations: 0 / 0.5346 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.416, allocations: 34.62 kB / 0.5346 GB, free: 12.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.416, allocations: 0 / 0.5346 GB, free: 12.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 9.384e-05/0.4161, allocations: 25.7 kB / 0.5346 GB, free: 12.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.4161, allocations: 51.41 kB / 0.5347 GB, free: 12.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.991e-05/0.4161, allocations: 89.77 kB / 0.5348 GB, free: 12.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.4161, allocations: 25.7 kB / 0.5348 GB, free: 12.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.4162, allocations: 84.17 kB / 0.5349 GB, free: 11.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.4162, allocations: 7.891 kB / 0.5349 GB, free: 11.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-06/0.4162, allocations: 0 / 0.5349 GB, free: 11.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.4163, allocations: 314.5 kB / 0.5352 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-06/0.4163, allocations: 0 / 0.5352 GB, free: 11.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-06/0.4163, allocations: 10.02 kB / 0.5352 GB, free: 11.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.154e-05/0.4164, allocations: 0 / 0.5352 GB, free: 11.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4164, allocations: 0 / 0.5352 GB, free: 11.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.183e-05/0.4164, allocations: 33.77 kB / 0.5352 GB, free: 11.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.4165, allocations: 4.75 kB / 0.5352 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4165, allocations: 0 / 0.5352 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4165, allocations: 4 kB / 0.5352 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.31e-05/0.4165, allocations: 0 / 0.5352 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.4165, allocations: 0 / 0.5352 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.866e-06/0.4166, allocations: 0 / 0.5352 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.4166, allocations: 8.766 kB / 0.5352 GB, free: 11.61 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 5.79e-05/0.4166, allocations: 105 kB / 0.5353 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-06/0.4166, allocations: 7.969 kB / 0.5354 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.4167, allocations: 6.953 kB / 0.5354 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.4167, allocations: 0 / 0.5354 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.4167, allocations: 0 / 0.5354 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.4167, allocations: 0 / 0.5354 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.907e-05/0.4167, allocations: 128.3 kB / 0.5355 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4168, allocations: 1.062 kB / 0.5355 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-06/0.4168, allocations: 7.938 kB / 0.5355 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4168, allocations: 7.922 kB / 0.5355 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.4168, allocations: 0 / 0.5355 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.4168, allocations: 0 / 0.5355 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4168, allocations: 4 kB / 0.5355 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.033e-05/0.4169, allocations: 60.42 kB / 0.5356 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.4169, allocations: 77.11 kB / 0.5356 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.4169, allocations: 1.562 kB / 0.5356 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-06/0.4169, allocations: 0 / 0.5356 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.4169, allocations: 3.984 kB / 0.5356 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-06/0.4169, allocations: 0 / 0.5356 GB, free: 11.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.265e-05/0.417, allocations: 79.31 kB / 0.5357 GB, free: 11.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000174/0.4172, allocations: 4 kB / 0.5357 GB, free: 11.05 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 7.976e-05/0.4172, allocations: 92.56 kB / 0.5358 GB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.852e-05/0.4173, allocations: 7.688 kB / 0.5358 GB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4173, allocations: 4 kB / 0.5358 GB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.4173, allocations: 0 / 0.5358 GB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.218e-05/0.4174, allocations: 0 / 0.5358 GB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001227/0.4175, allocations: 51.97 kB / 0.5359 GB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.4178, allocations: 0.688 MB / 0.5365 GB, free: 10.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4178, allocations: 0 / 0.5365 GB, free: 10.16 MB / 378.7 MB Notification: Performance of Templates: time 0.001343/0.4191, allocations: 163.4 kB / 0.5367 GB, free: 10.01 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)