Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipeFriction1.port_b.m_flow|pipeFriction1.port_b.p|pipeFriction1.port_b.h_outflow|pipeFriction2.port_b.m_flow|pipeFriction2.port_b.p|pipeFriction2.port_b.h_outflow|pipeFriction3.port_b.m_flow|pipeFriction3.port_b.p|pipeFriction3.port_b.h_outflow|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..Xi_outflow.2.|boundary1.ports.1..Xi_outflow.3.|boundary1.ports.1..Xi_outflow.4.|boundary1.ports.1..Xi_outflow.5.|boundary1.ports.1..Xi_outflow.6.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..Xi_outflow.2.|boundary2.ports.1..Xi_outflow.3.|boundary2.ports.1..Xi_outflow.4.|boundary2.ports.1..Xi_outflow.5.|boundary2.ports.1..Xi_outflow.6.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..Xi_outflow.2.|boundary3.ports.1..Xi_outflow.3.|boundary3.ports.1..Xi_outflow.4.|boundary3.ports.1..Xi_outflow.5.|boundary3.ports.1..Xi_outflow.6.|sine1.y|sine2.y|sine3.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipeFriction1.port_b.m_flow|pipeFriction1.port_b.p|pipeFriction1.port_b.h_outflow|pipeFriction2.port_b.m_flow|pipeFriction2.port_b.p|pipeFriction2.port_b.h_outflow|pipeFriction3.port_b.m_flow|pipeFriction3.port_b.p|pipeFriction3.port_b.h_outflow|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..Xi_outflow.2.|boundary1.ports.1..Xi_outflow.3.|boundary1.ports.1..Xi_outflow.4.|boundary1.ports.1..Xi_outflow.5.|boundary1.ports.1..Xi_outflow.6.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..Xi_outflow.2.|boundary2.ports.1..Xi_outflow.3.|boundary2.ports.1..Xi_outflow.4.|boundary2.ports.1..Xi_outflow.5.|boundary2.ports.1..Xi_outflow.6.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..Xi_outflow.2.|boundary3.ports.1..Xi_outflow.3.|boundary3.ports.1..Xi_outflow.4.|boundary3.ports.1..Xi_outflow.5.|boundary3.ports.1..Xi_outflow.6.|sine1.y|sine2.y|sine3.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001677/0.001676, allocations: 172.5 kB / 8.144 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001263/0.001263, allocations: 91.91 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2611/0.2611, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.925e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2635, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.771/2.035, allocations: 0.7913 GB / 1.257 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/2.035, allocations: 83.14 kB / 1.257 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.35/7.385, allocations: 1.143 GB / 2.4 GB, free: 56.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001609/7.385, allocations: 41.14 kB / 2.4 GB, free: 56.34 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.02745/7.413, allocations: 2.472 MB / 2.402 GB, free: 55.69 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/7.413, allocations: 11.5 kB / 2.402 GB, free: 55.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/7.424, allocations: 463.3 kB / 2.403 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00626/7.43, allocations: 1.194 MB / 2.404 GB, free: 55.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/7.431, allocations: 44.59 kB / 2.404 GB, free: 55.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009988/7.432, allocations: 63.34 kB / 2.404 GB, free: 55.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01402/7.446, allocations: 3.556 MB / 2.407 GB, free: 55.33 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009841/7.456, allocations: 2.472 MB / 2.41 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.369e-05/7.456, allocations: 0 / 2.41 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005712/7.456, allocations: 3.344 kB / 2.41 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/7.456, allocations: 155.7 kB / 2.41 GB, free: 55.13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03376/7.49, allocations: 9.107 MB / 2.419 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004269/7.495, allocations: 1.554 MB / 2.42 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002259/7.497, allocations: 0.9797 MB / 2.421 GB, free: 52.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002203/7.499, allocations: 1.135 MB / 2.422 GB, free: 51.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/7.499, allocations: 48.86 kB / 2.422 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=74): time 3.576e-06/7.499, allocations: 3.062 kB / 2.422 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.008935/7.508, allocations: 2.489 MB / 2.425 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/7.508, allocations: 135.3 kB / 2.425 GB, free: 51.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/7.51, allocations: 0.7987 MB / 2.426 GB, free: 51.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004715/7.511, allocations: 28.7 kB / 2.426 GB, free: 51.01 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/7.511, allocations: 0.5515 MB / 2.426 GB, free: 50.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004703/7.511, allocations: 250.5 kB / 2.426 GB, free: 50.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/7.512, allocations: 0 / 2.426 GB, free: 50.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001118/7.512, allocations: 357.2 kB / 2.427 GB, free: 50.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002421/7.514, allocations: 0.9744 MB / 2.428 GB, free: 50.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/7.517, allocations: 1.152 MB / 2.429 GB, free: 50.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01803/7.535, allocations: 2.577 MB / 2.431 GB, free: 50.06 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/7.535, allocations: 3.906 kB / 2.431 GB, free: 50.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.02308/7.558, allocations: 4.288 MB / 2.436 GB, free: 49.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003503/7.558, allocations: 1.566 MB / 2.437 GB, free: 48.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/7.558, allocations: 4.25 kB / 2.437 GB, free: 48.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03978/7.598, allocations: 3.732 MB / 2.441 GB, free: 48.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/7.601, allocations: 191.5 kB / 2.441 GB, free: 48.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006882/7.608, allocations: 2.753 MB / 2.444 GB, free: 47.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/7.611, allocations: 102 kB / 2.444 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004331/7.611, allocations: 86.14 kB / 2.444 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/7.611, allocations: 3.875 kB / 2.444 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0218/7.633, allocations: 3.69 MB / 2.447 GB, free: 47.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/7.633, allocations: 5.438 kB / 2.447 GB, free: 47.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/7.634, allocations: 144.3 kB / 2.448 GB, free: 47.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003339/7.638, allocations: 272.1 kB / 2.448 GB, free: 47.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004247/7.642, allocations: 2 MB / 2.45 GB, free: 46.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002789/7.645, allocations: 101 kB / 2.45 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002843/7.645, allocations: 83.06 kB / 2.45 GB, free: 46.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 34} Notification: Performance of prepare postOptimizeDAE: time 0.0005784/7.646, allocations: 46.58 kB / 2.45 GB, free: 46.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005356/7.646, allocations: 104.8 kB / 2.45 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009574/7.656, allocations: 2.761 MB / 2.453 GB, free: 46.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/7.656, allocations: 14.06 kB / 2.453 GB, free: 46.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/7.656, allocations: 0 / 2.453 GB, free: 46.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/7.656, allocations: 5.891 kB / 2.453 GB, free: 46.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009481/7.665, allocations: 3.639 MB / 2.456 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/7.665, allocations: 1.688 kB / 2.456 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/7.667, allocations: 81.27 kB / 2.456 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0205/7.687, allocations: 2.54 MB / 2.459 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003272/7.688, allocations: 11.53 kB / 2.459 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005351/7.693, allocations: 2.358 MB / 2.461 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/7.693, allocations: 3.969 kB / 2.461 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006574/7.7, allocations: 2.175 MB / 2.463 GB, free: 45.19 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006273/7.701, allocations: 215.4 kB / 2.464 GB, free: 45.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004244/7.701, allocations: 3.375 kB / 2.464 GB, free: 45.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002724/7.704, allocations: 85.53 kB / 2.464 GB, free: 45.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/7.704, allocations: 41.5 kB / 2.464 GB, free: 45.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002414/7.704, allocations: 64.42 kB / 2.464 GB, free: 45.03 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001224/7.705, allocations: 0.6146 MB / 2.464 GB, free: 44.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007451/7.713, allocations: 1.937 MB / 2.466 GB, free: 44.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01029/7.723, allocations: 2.819 MB / 2.469 GB, free: 44.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01217/7.735, allocations: 3.225 MB / 2.472 GB, free: 43.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/7.736, allocations: 7.938 kB / 2.472 GB, free: 43.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003313/7.739, allocations: 0.8226 MB / 2.473 GB, free: 43.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006519/7.745, allocations: 453.2 kB / 2.473 GB, free: 43.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/7.756, allocations: 2.158 MB / 2.476 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003015/7.759, allocations: 1.445 MB / 2.477 GB, free: 42.71 MB / 0.5261 GB Notification: Performance of SimCode: time 3.216e-06/7.759, allocations: 0 / 2.477 GB, free: 42.71 MB / 0.5261 GB Notification: Performance of Templates: time 0.1289/7.888, allocations: 45.89 MB / 2.522 GB, free: 37 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1)