Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.5 MB / 230.7 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008762/0.0008763, allocations: 90.36 kB / 281.6 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2483/0.2483, allocations: 44.16 MB / 376.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.878e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 61.91 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.312/1.429, allocations: 0.4939 GB / 0.9886 GB, free: 97 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/1.43, allocations: 90.88 kB / 0.9887 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7322/2.162, allocations: 233.8 MB / 1.217 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.453e-06/2.162, allocations: 0 / 1.217 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.341e-05/2.162, allocations: 16 kB / 1.217 GB, free: 65.93 MB / 0.5105 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.002677/2.165, allocations: 1.05 MB / 1.218 GB, free: 64.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/2.165, allocations: 11.98 kB / 1.218 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/2.166, allocations: 151.1 kB / 1.218 GB, free: 64.69 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009311/2.167, allocations: 0.4946 MB / 1.219 GB, free: 64.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/2.167, allocations: 16 kB / 1.219 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.023e-05/2.167, allocations: 24 kB / 1.219 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006721/2.168, allocations: 426.5 kB / 1.219 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007546/2.169, allocations: 0.5587 MB / 1.22 GB, free: 63.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/2.169, allocations: 3.938 kB / 1.22 GB, free: 63.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/2.169, allocations: 7.984 kB / 1.22 GB, free: 63.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/2.169, allocations: 8 kB / 1.22 GB, free: 63.07 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/2.172, allocations: 2.592 MB / 1.222 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/2.172, allocations: 228.5 kB / 1.222 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/2.173, allocations: 124.8 kB / 1.223 GB, free: 59.97 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003479/2.173, allocations: 445.4 kB / 1.223 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/2.173, allocations: 38.55 kB / 1.223 GB, free: 59.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 2.815e-06/2.173, allocations: 0 / 1.223 GB, free: 59.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.00226/2.175, allocations: 0.6231 MB / 1.224 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/2.175, allocations: 158.2 kB / 1.224 GB, free: 58.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/2.176, allocations: 389.1 kB / 1.224 GB, free: 58.19 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/2.176, allocations: 29.7 kB / 1.224 GB, free: 58.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/2.176, allocations: 315.3 kB / 1.224 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.29e-05/2.176, allocations: 114.3 kB / 1.225 GB, free: 57.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/2.176, allocations: 0 / 1.225 GB, free: 57.72 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.243e-05/2.176, allocations: 366.7 kB / 1.225 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/2.176, allocations: 121.1 kB / 1.225 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/2.177, allocations: 297.9 kB / 1.225 GB, free: 56.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/2.178, allocations: 467.3 kB / 1.226 GB, free: 56.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/2.178, allocations: 0 / 1.226 GB, free: 56.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002176/2.181, allocations: 0.7743 MB / 1.227 GB, free: 55.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/2.181, allocations: 8 kB / 1.227 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/2.181, allocations: 4 kB / 1.227 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/2.181, allocations: 53.45 kB / 1.227 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/2.181, allocations: 123.8 kB / 1.227 GB, free: 55.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004834/2.182, allocations: 0.6108 MB / 1.227 GB, free: 54.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/2.182, allocations: 47.64 kB / 1.227 GB, free: 54.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/2.182, allocations: 51.98 kB / 1.227 GB, free: 54.71 MB / 0.5105 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.0001268/2.182, allocations: 124.8 kB / 1.228 GB, free: 54.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/2.183, allocations: 51.42 kB / 1.228 GB, free: 54.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/2.184, allocations: 0.9727 MB / 1.229 GB, free: 53.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/2.184, allocations: 7.953 kB / 1.229 GB, free: 53.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/2.184, allocations: 0 / 1.229 GB, free: 53.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/2.184, allocations: 4 kB / 1.229 GB, free: 53.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/2.186, allocations: 1.132 MB / 1.23 GB, free: 52.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/2.186, allocations: 8.031 kB / 1.23 GB, free: 52.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/2.186, allocations: 51.91 kB / 1.23 GB, free: 52.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/2.186, allocations: 44.84 kB / 1.23 GB, free: 52.19 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/2.186, allocations: 11.92 kB / 1.23 GB, free: 52.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003813/2.187, allocations: 0.5953 MB / 1.23 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/2.187, allocations: 4.031 kB / 1.23 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/2.188, allocations: 0.6412 MB / 1.231 GB, free: 50.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/2.188, allocations: 152.4 kB / 1.231 GB, free: 50.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/2.188, allocations: 7.984 kB / 1.231 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/2.189, allocations: 23.92 kB / 1.231 GB, free: 50.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/2.189, allocations: 27.91 kB / 1.231 GB, free: 50.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/2.189, allocations: 23.98 kB / 1.231 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003051/2.189, allocations: 322.9 kB / 1.231 GB, free: 50.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/2.189, allocations: 0 / 1.231 GB, free: 50.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001234/2.19, allocations: 363.3 kB / 1.232 GB, free: 49.9 MB / 0.5105 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.00194/2.192, allocations: 1.267 MB / 1.233 GB, free: 48.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006542/2.193, allocations: 323.5 kB / 1.233 GB, free: 48.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/2.193, allocations: 5.25 kB / 1.233 GB, free: 48.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/2.193, allocations: 119.2 kB / 1.233 GB, free: 48.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/2.195, allocations: 256.3 kB / 1.234 GB, free: 48.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/2.196, allocations: 0.5911 MB / 1.234 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/2.196, allocations: 0.8704 MB / 1.235 GB, free: 46.56 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001211/2.197, allocations: 0.5549 MB / 1.236 GB, free: 46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/2.198, allocations: 87.39 kB / 1.236 GB, free: 45.91 MB / 0.5105 GB Notification: Performance of SimCode: time 9.92e-07/2.198, allocations: 0 / 1.236 GB, free: 45.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.025/2.223, allocations: 16.86 MB / 1.252 GB, free: 29.16 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)