Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") [: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 trunk/package.mo): time 0.001125/0.001125, allocations: 199.2 kB / 8.542 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008839/0.000884, allocations: 96.56 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1952/0.1952, allocations: 45.15 MB / 383.4 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.332e-06/6.503e-06, allocations: 0 / 452.6 MB, free: 76.22 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 63.25 MB / 0.5038 GB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.225, allocations: 0.4949 GB / 0.9987 GB, free: 170.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/1.225, allocations: 83.95 kB / 0.9988 GB, free: 170.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.7475/1.973, allocations: 236 MB / 1.229 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.402e-05/1.973, allocations: 11.66 kB / 1.229 GB, free: 111.5 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003042/1.976, allocations: 1.072 MB / 1.23 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.976, allocations: 6.625 kB / 1.23 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/1.978, allocations: 175.4 kB / 1.23 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/1.979, allocations: 0.4902 MB / 1.231 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/1.979, allocations: 14.69 kB / 1.231 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-05/1.979, allocations: 24.41 kB / 1.231 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007822/1.98, allocations: 433.1 kB / 1.231 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008764/1.981, allocations: 0.554 MB / 1.232 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/1.981, allocations: 2.812 kB / 1.232 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/1.981, allocations: 2.062 kB / 1.232 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/1.981, allocations: 10.59 kB / 1.232 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00374/1.985, allocations: 2.63 MB / 1.234 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/1.985, allocations: 216.4 kB / 1.235 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/1.985, allocations: 132.3 kB / 1.235 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003351/1.985, allocations: 428 kB / 1.235 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/1.986, allocations: 41.25 kB / 1.235 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 2.976e-06/1.986, allocations: 0 / 1.235 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.00268/1.988, allocations: 0.685 MB / 1.236 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/1.988, allocations: 166.9 kB / 1.236 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/1.989, allocations: 382.2 kB / 1.236 GB, free: 108 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.888e-05/1.989, allocations: 25.7 kB / 1.236 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/1.989, allocations: 259.4 kB / 1.237 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.719e-05/1.989, allocations: 111.9 kB / 1.237 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/1.989, allocations: 0 / 1.237 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/1.989, allocations: 355 kB / 1.237 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/1.99, allocations: 126.2 kB / 1.237 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/1.99, allocations: 299.5 kB / 1.238 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/1.992, allocations: 0.5133 MB / 1.238 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/1.992, allocations: 0 / 1.238 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00259/1.995, allocations: 0.8433 MB / 1.239 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.995, allocations: 7 kB / 1.239 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.995, allocations: 3.188 kB / 1.239 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002606/1.995, allocations: 53.17 kB / 1.239 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/1.995, allocations: 117.4 kB / 1.239 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005793/1.996, allocations: 0.6188 MB / 1.24 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006021/1.996, allocations: 55.66 kB / 1.24 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.426e-05/1.997, allocations: 50.34 kB / 1.24 GB, free: 106.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001781/1.997, allocations: 121.2 kB / 1.24 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/1.997, allocations: 54.03 kB / 1.24 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/2, allocations: 1.416 MB / 1.241 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/2, allocations: 11.11 kB / 1.241 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/2, allocations: 3.781 kB / 1.241 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/2, allocations: 3.891 kB / 1.241 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/2.002, allocations: 1.158 MB / 1.242 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/2.002, allocations: 0 / 1.242 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/2.002, allocations: 54.5 kB / 1.243 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001652/2.002, allocations: 51.64 kB / 1.243 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/2.002, allocations: 3.906 kB / 1.243 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004502/2.003, allocations: 0.6111 MB / 1.243 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/2.003, allocations: 3.906 kB / 1.243 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00116/2.004, allocations: 0.6589 MB / 1.244 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/2.004, allocations: 154 kB / 1.244 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/2.004, allocations: 0 / 1.244 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/2.005, allocations: 21.02 kB / 1.244 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/2.005, allocations: 26 kB / 1.244 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.56e-05/2.005, allocations: 22.19 kB / 1.244 GB, free: 104 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003994/2.005, allocations: 328 kB / 1.244 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001627/2.007, allocations: 376.9 kB / 1.245 GB, free: 103.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002873/2.01, allocations: 1.312 MB / 1.246 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008194/2.011, allocations: 318.8 kB / 1.246 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/2.011, allocations: 3.875 kB / 1.246 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/2.011, allocations: 129.5 kB / 1.246 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/2.012, allocations: 238.2 kB / 1.247 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/2.014, allocations: 0.6039 MB / 1.247 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009926/2.015, allocations: 1.03 MB / 1.248 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/2.015, allocations: 0 / 1.248 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.03773/2.052, allocations: 18.13 MB / 1.266 GB, free: 97.63 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)