Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") [: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.2821/0.2821, allocations: 54.39 MB / 61.67 MB, free: 11.17 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.001217/0.001217, allocations: 186.3 kB / 75.37 MB, free: 1.516 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.644/1.644, allocations: 194.2 MB / 283.2 MB, free: 3.52 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.001739/0.00174, allocations: 116.2 kB / 341.3 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.798e-06/9.808e-06, allocations: 4 kB / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1508, allocations: 57.65 MB / 462.6 MB, free: 2.012 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.904/5.055, allocations: 2.137 GB / 2.589 GB, free: 55.06 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/5.055, allocations: 83.95 kB / 2.589 GB, free: 54.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.958/8.014, allocations: 0.767 GB / 3.356 GB, free: 38.15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001472/8.014, allocations: 25.95 kB / 3.356 GB, free: 38.12 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004787/8.019, allocations: 1.316 MB / 3.357 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/8.019, allocations: 15.97 kB / 3.357 GB, free: 36.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002293/8.021, allocations: 262.4 kB / 3.357 GB, free: 36.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002383/8.023, allocations: 0.8184 MB / 3.358 GB, free: 35.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/8.024, allocations: 24 kB / 3.358 GB, free: 35.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/8.024, allocations: 44 kB / 3.358 GB, free: 35.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001398/8.025, allocations: 0.7065 MB / 3.359 GB, free: 34.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/8.027, allocations: 0.796 MB / 3.36 GB, free: 34.06 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/8.027, allocations: 0 / 3.36 GB, free: 34.06 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/8.027, allocations: 4 kB / 3.36 GB, free: 34.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/8.027, allocations: 25.55 kB / 3.36 GB, free: 34.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005268/8.032, allocations: 3.736 MB / 3.363 GB, free: 30.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000685/8.033, allocations: 455.5 kB / 3.364 GB, free: 29.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/8.033, allocations: 301.4 kB / 3.364 GB, free: 29.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/8.034, allocations: 377.1 kB / 3.364 GB, free: 28.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/8.034, allocations: 42.89 kB / 3.364 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 2.565e-06/8.034, allocations: 0 / 3.364 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.005768/8.039, allocations: 1.458 MB / 3.366 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/8.039, allocations: 55.41 kB / 3.366 GB, free: 27.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006032/8.04, allocations: 499.9 kB / 3.366 GB, free: 26.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-05/8.04, allocations: 25.7 kB / 3.366 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/8.04, allocations: 347.2 kB / 3.367 GB, free: 26.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/8.04, allocations: 130 kB / 3.367 GB, free: 26.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/8.04, allocations: 4 kB / 3.367 GB, free: 26.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001151/8.041, allocations: 390.3 kB / 3.367 GB, free: 25.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/8.041, allocations: 252.9 kB / 3.367 GB, free: 25.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/8.041, allocations: 400.5 kB / 3.368 GB, free: 25.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005231/8.042, allocations: 337.5 kB / 3.368 GB, free: 24.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/8.042, allocations: 0 / 3.368 GB, free: 24.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00406/8.046, allocations: 1.286 MB / 3.369 GB, free: 23.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002602/8.046, allocations: 1.138 MB / 3.371 GB, free: 22.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/8.046, allocations: 0 / 3.371 GB, free: 22.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/8.047, allocations: 153.3 kB / 3.371 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/8.047, allocations: 123.8 kB / 3.371 GB, free: 22.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/8.049, allocations: 0.888 MB / 3.372 GB, free: 21.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/8.05, allocations: 139.5 kB / 3.372 GB, free: 21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/8.05, allocations: 23.98 kB / 3.372 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/8.05, allocations: 4 kB / 3.372 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001079/8.051, allocations: 0.6665 MB / 3.372 GB, free: 20.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/8.051, allocations: 4 kB / 3.372 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/8.051, allocations: 65.09 kB / 3.373 GB, free: 20.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/8.052, allocations: 119.8 kB / 3.373 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/8.053, allocations: 1.627 MB / 3.374 GB, free: 18.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000849/8.054, allocations: 83.69 kB / 3.374 GB, free: 18.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/8.054, allocations: 23.98 kB / 3.374 GB, free: 18.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002244/8.054, allocations: 112.9 kB / 3.374 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/8.055, allocations: 83.05 kB / 3.375 GB, free: 18.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003561/8.058, allocations: 1.125 MB / 3.376 GB, free: 16.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/8.058, allocations: 4 kB / 3.376 GB, free: 16.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/8.058, allocations: 0 / 3.376 GB, free: 16.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/8.058, allocations: 7.984 kB / 3.376 GB, free: 16.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004647/8.063, allocations: 1.97 MB / 3.378 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/8.063, allocations: 7.906 kB / 3.378 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004345/8.063, allocations: 88.2 kB / 3.378 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002711/8.064, allocations: 145 kB / 3.378 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/8.064, allocations: 15.98 kB / 3.378 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006573/8.07, allocations: 2.702 MB / 3.38 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/8.07, allocations: 8.062 kB / 3.38 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003612/8.074, allocations: 1.338 MB / 3.382 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006447/8.075, allocations: 224 kB / 3.382 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/8.075, allocations: 4 kB / 3.382 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/8.076, allocations: 123.7 kB / 3.382 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/8.076, allocations: 35.95 kB / 3.382 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/8.076, allocations: 31.92 kB / 3.382 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005583/8.077, allocations: 391.1 kB / 3.383 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00276/8.08, allocations: 0.6322 MB / 3.383 GB, free: 8.922 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004495/8.084, allocations: 2.366 MB / 3.385 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002761/8.087, allocations: 1.147 MB / 3.387 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/8.087, allocations: 1.125 kB / 3.387 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/8.088, allocations: 0.502 MB / 3.387 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/8.091, allocations: 413.5 kB / 3.387 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006034/8.097, allocations: 1.499 MB / 3.389 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009317/8.098, allocations: 1.092 MB / 3.39 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of SimCode: time 1.492e-06/8.098, allocations: 0 / 3.39 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.3511/8.449, allocations: 33.05 MB / 3.422 GB, free: 104.5 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)