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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001716/0.001716, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 79.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3838, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2286/0.6125, allocations: 184.1 MB / 0.7114 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00836/0.6209, allocations: 4.604 MB / 0.7159 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008621/0.6218, allocations: 19.88 kB / 0.716 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.623, allocations: 337.7 kB / 0.7163 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006668/0.6297, allocations: 1.812 MB / 0.718 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003102/0.6328, allocations: 0.9526 MB / 0.719 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4455/1.078, allocations: 1.701 MB / 0.7206 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/1.079, allocations: 438.3 kB / 0.7211 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002562/1.082, allocations: 0.8606 MB / 0.7219 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/1.083, allocations: 0.4995 MB / 0.7224 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/1.083, allocations: 54.03 kB / 0.7224 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/1.087, allocations: 1.306 MB / 0.7237 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/1.087, allocations: 171.8 kB / 0.7239 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006237/1.087, allocations: 374 kB / 0.7242 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003742/1.091, allocations: 1.636 MB / 0.7258 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.568e-05/1.091, allocations: 6.953 kB / 0.7258 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.046e-06/1.091, allocations: 0 / 0.7258 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.312e-05/1.091, allocations: 0.875 kB / 0.7258 GB, free: 3.918 MB / 0.5606 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.003114/1.094, allocations: 1.106 MB / 0.7269 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/1.095, allocations: 9.219 kB / 0.7269 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/1.096, allocations: 160 kB / 0.7271 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/1.097, allocations: 0.506 MB / 0.7276 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/1.097, allocations: 32.78 kB / 0.7276 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-05/1.097, allocations: 42.62 kB / 0.7276 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/1.099, allocations: 0.6445 MB / 0.7283 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/1.099, allocations: 2.719 kB / 0.7283 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.721e-05/1.099, allocations: 25.81 kB / 0.7283 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/1.099, allocations: 14.77 kB / 0.7283 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009841/1.1, allocations: 0.4959 MB / 0.7288 GB, free: 18.88 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003641/1.104, allocations: 2.64 MB / 0.7314 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/1.104, allocations: 327.9 kB / 0.7317 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/1.105, allocations: 160.4 kB / 0.7318 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004401/1.105, allocations: 435.1 kB / 0.7323 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/1.105, allocations: 40.47 kB / 0.7323 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.475e-06/1.105, allocations: 0 / 0.7323 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.00165/1.107, allocations: 0.7151 MB / 0.733 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.623e-05/1.107, allocations: 159.7 kB / 0.7331 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000618/1.108, allocations: 0.5213 MB / 0.7337 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.038e-05/1.108, allocations: 33.97 kB / 0.7337 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/1.108, allocations: 304.8 kB / 0.734 GB, free: 16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/1.108, allocations: 122.3 kB / 0.7341 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/1.108, allocations: 123.5 kB / 0.7342 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002349/1.108, allocations: 365.5 kB / 0.7346 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/1.109, allocations: 143.9 kB / 0.7347 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/1.109, allocations: 321.7 kB / 0.735 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007006/1.11, allocations: 481.6 kB / 0.7355 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.11, allocations: 0 / 0.7355 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001004/1.111, allocations: 0.5679 MB / 0.736 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/1.111, allocations: 12.41 kB / 0.736 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.111, allocations: 8.016 kB / 0.736 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/1.113, allocations: 237.9 kB / 0.7363 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/1.113, allocations: 115.7 kB / 0.7364 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004853/1.114, allocations: 0.5928 MB / 0.737 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/1.114, allocations: 54.09 kB / 0.737 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/1.114, allocations: 55.95 kB / 0.7371 GB, free: 14.58 MB / 0.5762 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003292/1.115, allocations: 195.9 kB / 0.7372 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/1.115, allocations: 57.56 kB / 0.7373 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/1.117, allocations: 1.102 MB / 0.7384 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.117, allocations: 2.578 kB / 0.7384 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.117, allocations: 2.109 kB / 0.7384 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/1.117, allocations: 131.8 kB / 0.7385 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/1.117, allocations: 17.41 kB / 0.7385 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/1.117, allocations: 15.86 kB / 0.7385 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/1.117, allocations: 26.59 kB / 0.7386 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007696/1.118, allocations: 413.2 kB / 0.739 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000877/1.119, allocations: 0.6382 MB / 0.7396 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002094/1.119, allocations: 118.1 kB / 0.7397 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004837/1.12, allocations: 420.4 kB / 0.7401 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of Backend: time 7.51e-07/1.12, allocations: 0.5938 kB / 0.7401 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00257/1.122, allocations: 0.762 MB / 0.7408 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002816/1.125, allocations: 1.707 MB / 0.7425 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of Templates: time 0.03089/1.156, allocations: 18.8 MB / 0.7609 GB, free: 10.38 MB / 0.5762 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)