Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [: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/Complex 3.2.1+maint.om/package.mo): time 0.004069/0.004069, allocations: 176.4 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.365/1.365, allocations: 170.6 MB / 178.4 MB, free: 15.71 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001923/0.001923, allocations: 112.5 kB / 217.7 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2436/0.2436, allocations: 37.97 MB / 294.8 MB, free: 9.645 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.022e-05/1.026e-05, allocations: 1.531 kB / 349.5 MB, free: 37.15 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1562, allocations: 48.71 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.567/9.723, allocations: 3.66 GB / 4.049 GB, free: 39.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004663/9.723, allocations: 87.94 kB / 4.049 GB, free: 39.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.952/11.68, allocations: 428.1 MB / 4.467 GB, free: 52.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001003/11.68, allocations: 28.97 kB / 4.467 GB, free: 52.84 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.01106/11.69, allocations: 2.344 MB / 4.469 GB, free: 51.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/11.69, allocations: 10.69 kB / 4.469 GB, free: 51.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/11.69, allocations: 107.9 kB / 4.469 GB, free: 51.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/11.69, allocations: 0.6527 MB / 4.47 GB, free: 51.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/11.69, allocations: 94.89 kB / 4.47 GB, free: 51.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000352/11.69, allocations: 39 kB / 4.47 GB, free: 51.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002538/11.69, allocations: 1.061 MB / 4.471 GB, free: 51.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/11.7, allocations: 1.035 MB / 4.472 GB, free: 51.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/11.7, allocations: 5.906 kB / 4.472 GB, free: 51.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/11.7, allocations: 7.188 kB / 4.472 GB, free: 51.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-05/11.7, allocations: 58.55 kB / 4.472 GB, free: 51.26 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/11.71, allocations: 4.786 MB / 4.477 GB, free: 48.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/11.71, allocations: 493.6 kB / 4.477 GB, free: 48.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005556/11.71, allocations: 347.2 kB / 4.478 GB, free: 48.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/11.71, allocations: 1.065 MB / 4.479 GB, free: 47.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.947e-05/11.71, allocations: 44.25 kB / 4.479 GB, free: 47.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 5.03e-06/11.71, allocations: 0 / 4.479 GB, free: 47.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.0158/11.73, allocations: 3.703 MB / 4.483 GB, free: 47.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/11.73, allocations: 110.4 kB / 4.483 GB, free: 46.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/11.73, allocations: 496.8 kB / 4.483 GB, free: 46.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000174/11.73, allocations: 29.67 kB / 4.483 GB, free: 46.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/11.73, allocations: 359.2 kB / 4.483 GB, free: 46.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/11.73, allocations: 259.2 kB / 4.484 GB, free: 46.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/11.73, allocations: 3.781 kB / 4.484 GB, free: 46.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/11.73, allocations: 379 kB / 4.484 GB, free: 46.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006848/11.73, allocations: 424 kB / 4.484 GB, free: 46.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008498/11.73, allocations: 0.7221 MB / 4.485 GB, free: 45.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/11.73, allocations: 0.6926 MB / 4.486 GB, free: 45.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/11.73, allocations: 7.219 kB / 4.486 GB, free: 45.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004013/11.74, allocations: 1.61 MB / 4.487 GB, free: 45.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/11.74, allocations: 6.531 kB / 4.487 GB, free: 45.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.85e-05/11.74, allocations: 12.66 kB / 4.487 GB, free: 45.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005604/11.74, allocations: 1.074 MB / 4.489 GB, free: 45.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007345/11.74, allocations: 173.2 kB / 4.489 GB, free: 45.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/11.74, allocations: 1.512 MB / 4.49 GB, free: 45.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/11.75, allocations: 80.59 kB / 4.49 GB, free: 45.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/11.75, allocations: 65.33 kB / 4.49 GB, free: 45.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0003402/11.75, allocations: 134.6 kB / 4.49 GB, free: 44.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003213/11.75, allocations: 73.41 kB / 4.49 GB, free: 44.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/11.75, allocations: 1.533 MB / 4.492 GB, free: 44.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/11.75, allocations: 8.719 kB / 4.492 GB, free: 44.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/11.75, allocations: 0 / 4.492 GB, free: 44.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/11.75, allocations: 3.422 kB / 4.492 GB, free: 44.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005381/11.76, allocations: 2.746 MB / 4.495 GB, free: 44.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/11.76, allocations: 3.812 kB / 4.495 GB, free: 44.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/11.76, allocations: 245 kB / 4.495 GB, free: 44.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/11.76, allocations: 313.8 kB / 4.495 GB, free: 44.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.494e-05/11.76, allocations: 23.2 kB / 4.495 GB, free: 44.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/11.76, allocations: 2.168 MB / 4.497 GB, free: 42.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/11.76, allocations: 10.11 kB / 4.497 GB, free: 42.36 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004292/11.77, allocations: 2.014 MB / 4.499 GB, free: 41.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008493/11.77, allocations: 277.2 kB / 4.5 GB, free: 41.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003103/11.77, allocations: 14.28 kB / 4.5 GB, free: 41.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/11.77, allocations: 57.39 kB / 4.5 GB, free: 41.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/11.77, allocations: 54.91 kB / 4.5 GB, free: 41.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/11.77, allocations: 48.11 kB / 4.5 GB, free: 41.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0008079/11.77, allocations: 375.4 kB / 4.5 GB, free: 41.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004419/11.77, allocations: 0.7816 MB / 4.501 GB, free: 41.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00686/11.78, allocations: 1.816 MB / 4.503 GB, free: 41.15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00261/11.78, allocations: 1.067 MB / 4.504 GB, free: 41.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/11.78, allocations: 0 / 4.504 GB, free: 41.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/11.78, allocations: 0.65 MB / 4.504 GB, free: 41.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/11.79, allocations: 337.3 kB / 4.505 GB, free: 41.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00593/11.79, allocations: 1.681 MB / 4.506 GB, free: 40.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/11.79, allocations: 1.175 MB / 4.507 GB, free: 40.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/11.79, allocations: 5.281 kB / 4.507 GB, free: 40.02 MB / 442.7 MB Notification: Performance of Templates: time 0.06407/11.86, allocations: 33.24 MB / 4.54 GB, free: 37.82 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1)