Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.Examples.PumpsSeries.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.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Examples.PumpsSeries") translateModel(Annex60.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Examples.PumpsSeries") [: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.2829/0.2829, 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.001441/0.001441, allocations: 182.3 kB / 75.37 MB, free: 1.484 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.668/1.668, allocations: 194.2 MB / 283.2 MB, free: 3.5 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.001904/0.001904, allocations: 117.3 kB / 341.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.686e-06, allocations: 0 / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1482, allocations: 57.64 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.868/1.016, allocations: 375.5 MB / 0.8184 GB, free: 17.27 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.017, allocations: 84.7 kB / 0.8185 GB, free: 17.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723/2.739, allocations: 0.5357 GB / 1.354 GB, free: 54.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002041/2.74, allocations: 53.64 kB / 1.354 GB, free: 54.2 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003965/2.744, allocations: 1.953 MB / 1.356 GB, free: 53.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/2.744, allocations: 13 kB / 1.356 GB, free: 53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004477/2.748, allocations: 0.6955 MB / 1.357 GB, free: 52.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03757/2.786, allocations: 13.43 MB / 1.37 GB, free: 48.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/2.786, allocations: 33.12 kB / 1.37 GB, free: 48.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005467/2.787, allocations: 68.69 kB / 1.37 GB, free: 48.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002853/2.789, allocations: 0.8839 MB / 1.371 GB, free: 47.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/2.792, allocations: 1.199 MB / 1.372 GB, free: 47.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/2.792, allocations: 7.812 kB / 1.372 GB, free: 47.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/2.793, allocations: 3.688 kB / 1.372 GB, free: 47.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/2.793, allocations: 30.69 kB / 1.372 GB, free: 47.28 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01058/2.803, allocations: 6.252 MB / 1.378 GB, free: 42.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/2.805, allocations: 0.7903 MB / 1.379 GB, free: 42.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005451/2.805, allocations: 342 kB / 1.379 GB, free: 42.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003236/2.809, allocations: 1.709 MB / 1.381 GB, free: 41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/2.809, allocations: 53.94 kB / 1.381 GB, free: 40.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=56): time 2.514e-06/2.809, allocations: 0 / 1.381 GB, free: 40.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=56): time 0.003943/2.813, allocations: 1.126 MB / 1.382 GB, free: 40.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/2.813, allocations: 272.5 kB / 1.382 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/2.815, allocations: 1.223 MB / 1.384 GB, free: 39.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/2.815, allocations: 27.11 kB / 1.384 GB, free: 39.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/2.816, allocations: 0.5589 MB / 1.384 GB, free: 39.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/2.816, allocations: 185.3 kB / 1.384 GB, free: 39.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/2.816, allocations: 0.6875 kB / 1.384 GB, free: 39.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001058/2.816, allocations: 348.7 kB / 1.385 GB, free: 38.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/2.817, allocations: 370.4 kB / 1.385 GB, free: 38.72 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008738/2.818, allocations: 0.7936 MB / 1.386 GB, free: 38.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/2.819, allocations: 0.5653 MB / 1.386 GB, free: 37.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/2.82, allocations: 2.062 kB / 1.386 GB, free: 37.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00323/2.823, allocations: 1.431 MB / 1.388 GB, free: 36.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007847/2.824, allocations: 4.224 MB / 1.392 GB, free: 31.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.484e-05/2.824, allocations: 22.7 kB / 1.392 GB, free: 31.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008658/2.824, allocations: 304 kB / 1.392 GB, free: 31.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008353/2.825, allocations: 215.4 kB / 1.392 GB, free: 31.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/2.827, allocations: 1.572 MB / 1.394 GB, free: 29.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/2.828, allocations: 139.5 kB / 1.394 GB, free: 29.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/2.828, allocations: 71.97 kB / 1.394 GB, free: 29.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/2.828, allocations: 5.719 kB / 1.394 GB, free: 29.63 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002668/2.831, allocations: 1.172 MB / 1.395 GB, free: 28.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/2.831, allocations: 12 kB / 1.395 GB, free: 28.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008659/2.832, allocations: 317.1 kB / 1.396 GB, free: 28.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/2.833, allocations: 203.7 kB / 1.396 GB, free: 27.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005844/2.838, allocations: 3.905 MB / 1.4 GB, free: 23.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/2.84, allocations: 103.2 kB / 1.4 GB, free: 23.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/2.84, allocations: 67.97 kB / 1.4 GB, free: 23.69 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac1.vol.QSen_flow.y:VARIABLE(protected = true ) "Value of Real output" type: Real floMac2.vol.QSen_flow.y:VARIABLE(protected = true ) "Value of Real output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 96 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 8,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004084/2.84, allocations: 140.5 kB / 1.4 GB, free: 23.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004412/2.841, allocations: 161.9 kB / 1.4 GB, free: 23.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003469/2.844, allocations: 1.287 MB / 1.401 GB, free: 22.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/2.844, allocations: 8 kB / 1.401 GB, free: 22.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/2.844, allocations: 7.938 kB / 1.401 GB, free: 22.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/2.844, allocations: 3.984 kB / 1.401 GB, free: 22.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/2.847, allocations: 1.043 MB / 1.402 GB, free: 21.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/2.847, allocations: 0 / 1.402 GB, free: 21.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/2.847, allocations: 99.61 kB / 1.402 GB, free: 20.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005532/2.848, allocations: 229.3 kB / 1.403 GB, free: 20.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/2.848, allocations: 19.97 kB / 1.403 GB, free: 20.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/2.849, allocations: 1.44 MB / 1.404 GB, free: 19.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/2.849, allocations: 0 / 1.404 GB, free: 19.18 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002845/2.852, allocations: 1.538 MB / 1.406 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006962/2.852, allocations: 318.8 kB / 1.406 GB, free: 17.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003656/2.853, allocations: 4 kB / 1.406 GB, free: 17.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/2.854, allocations: 67.77 kB / 1.406 GB, free: 17.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/2.854, allocations: 36.59 kB / 1.406 GB, free: 17.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.647e-05/2.854, allocations: 35.97 kB / 1.406 GB, free: 17.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001319/2.855, allocations: 0.927 MB / 1.407 GB, free: 16.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003627/2.859, allocations: 1.012 MB / 1.408 GB, free: 15.22 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],floMac2.filter.x[1],floMac2.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002286/2.861, allocations: 1.262 MB / 1.409 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003215/2.865, allocations: 1.792 MB / 1.411 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/2.865, allocations: 0 / 1.411 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006422/2.865, allocations: 382.6 kB / 1.411 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003171/2.868, allocations: 0.6326 MB / 1.412 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005962/2.874, allocations: 2.175 MB / 1.414 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/2.876, allocations: 1.561 MB / 1.416 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/2.876, allocations: 3.938 kB / 1.416 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of Templates: time 0.3352/3.211, allocations: 42.6 MB / 1.457 GB, free: 104.6 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.Examples.PumpsSeries.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)