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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001064, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 88.81 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1673/0.1673, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.205e-05/2.213e-05, allocations: 4 kB / 460.4 MB, free: 70.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08839/0.08843, allocations: 63.25 MB / 0.5114 GB, free: 6.781 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.312, allocations: 0.4956 GB / 1.007 GB, free: 164.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/1.313, allocations: 97.38 kB / 1.007 GB, free: 164.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7541/2.067, allocations: 237.5 MB / 1.239 GB, free: 122.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.193e-06/2.067, allocations: 0 / 1.239 GB, free: 122.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.908e-05/2.067, allocations: 23.19 kB / 1.239 GB, free: 122.2 MB / 0.5417 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.002668/2.07, allocations: 1.043 MB / 1.24 GB, free: 121.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/2.07, allocations: 11.34 kB / 1.24 GB, free: 121.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/2.071, allocations: 169.4 kB / 1.24 GB, free: 121.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000914/2.072, allocations: 496.6 kB / 1.241 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/2.072, allocations: 36.78 kB / 1.241 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.611e-05/2.072, allocations: 45.02 kB / 1.241 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/2.073, allocations: 0.6421 MB / 1.241 GB, free: 121.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/2.073, allocations: 3.469 kB / 1.241 GB, free: 121.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.803e-05/2.073, allocations: 23.52 kB / 1.241 GB, free: 121.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/2.073, allocations: 14.66 kB / 1.241 GB, free: 121.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008004/2.074, allocations: 489.3 kB / 1.242 GB, free: 121.2 MB / 0.5417 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.002738/2.077, allocations: 2.634 MB / 1.244 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/2.078, allocations: 309.2 kB / 1.245 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/2.078, allocations: 148.4 kB / 1.245 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003207/2.078, allocations: 434.8 kB / 1.245 GB, free: 119 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/2.078, allocations: 41.5 kB / 1.245 GB, free: 119 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 1.683e-06/2.078, allocations: 3.656 kB / 1.245 GB, free: 119 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.001008/2.079, allocations: 465.7 kB / 1.246 GB, free: 118.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/2.079, allocations: 161.4 kB / 1.246 GB, free: 118.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/2.08, allocations: 459.6 kB / 1.246 GB, free: 118.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/2.08, allocations: 33.77 kB / 1.246 GB, free: 118.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/2.08, allocations: 306 kB / 1.247 GB, free: 118.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.614e-05/2.08, allocations: 121.1 kB / 1.247 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/2.08, allocations: 11.16 kB / 1.247 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/2.08, allocations: 360.5 kB / 1.247 GB, free: 118 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/2.08, allocations: 138.5 kB / 1.247 GB, free: 118 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/2.081, allocations: 306.1 kB / 1.248 GB, free: 117.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/2.081, allocations: 185.3 kB / 1.248 GB, free: 117.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/2.081, allocations: 3.875 kB / 1.248 GB, free: 117.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008147/2.082, allocations: 0.5436 MB / 1.248 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/2.082, allocations: 11.78 kB / 1.248 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/2.082, allocations: 3.219 kB / 1.248 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/2.083, allocations: 239.4 kB / 1.249 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/2.083, allocations: 117.1 kB / 1.249 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003327/2.084, allocations: 0.5885 MB / 1.249 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/2.084, allocations: 68.03 kB / 1.249 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.405e-05/2.084, allocations: 54.48 kB / 1.249 GB, free: 117.2 MB / 0.5417 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.0001325/2.084, allocations: 134.1 kB / 1.249 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/2.085, allocations: 68.48 kB / 1.25 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/2.086, allocations: 1.048 MB / 1.251 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/2.086, allocations: 3.812 kB / 1.251 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/2.086, allocations: 5.438 kB / 1.251 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/2.086, allocations: 6.875 kB / 1.251 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/2.087, allocations: 0.9353 MB / 1.252 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/2.087, allocations: 1.875 kB / 1.252 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/2.087, allocations: 53.98 kB / 1.252 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/2.089, allocations: 236.7 kB / 1.252 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/2.089, allocations: 10.12 kB / 1.252 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002817/2.089, allocations: 0.5806 MB / 1.252 GB, free: 116 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/2.089, allocations: 4.719 kB / 1.252 GB, free: 116 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/2.089, allocations: 0.5218 MB / 1.253 GB, free: 115.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/2.09, allocations: 155.3 kB / 1.253 GB, free: 115.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.544e-05/2.09, allocations: 10.53 kB / 1.253 GB, free: 115.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/2.09, allocations: 28.95 kB / 1.253 GB, free: 115.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/2.09, allocations: 33.86 kB / 1.253 GB, free: 115.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/2.09, allocations: 16.55 kB / 1.253 GB, free: 115.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004159/2.091, allocations: 406.8 kB / 1.253 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/2.091, allocations: 0 / 1.253 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001283/2.092, allocations: 394.3 kB / 1.254 GB, free: 115.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.002101/2.094, allocations: 1.127 MB / 1.255 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006051/2.095, allocations: 344.7 kB / 1.255 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/2.095, allocations: 0 / 1.255 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/2.095, allocations: 140.5 kB / 1.255 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/2.096, allocations: 325.2 kB / 1.256 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/2.097, allocations: 0.6047 MB / 1.256 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/2.098, allocations: 0.8769 MB / 1.257 GB, free: 114 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001368/2.099, allocations: 0.5677 MB / 1.258 GB, free: 114 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/2.1, allocations: 86.98 kB / 1.258 GB, free: 114 MB / 0.5417 GB Notification: Performance of SimCode: time 1.523e-06/2.1, allocations: 2.656 kB / 1.258 GB, free: 114 MB / 0.5417 GB Notification: Performance of Templates: time 0.03453/2.134, allocations: 28.15 MB / 1.285 GB, free: 103.3 MB / 0.5417 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)