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.00153/0.00153, allocations: 118.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001795/0.001795, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2147/0.2147, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 71.88 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3192, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.1941/0.5134, allocations: 184.1 MB / 0.7114 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00685/0.5203, allocations: 4.604 MB / 0.7159 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006345/0.5209, allocations: 11.94 kB / 0.7159 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.5222, allocations: 349.7 kB / 0.7163 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004604/0.5268, allocations: 1.789 MB / 0.718 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002306/0.5291, allocations: 0.9389 MB / 0.7189 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3073/0.8364, allocations: 1.702 MB / 0.7206 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009106/0.8373, allocations: 441.7 kB / 0.721 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.8395, allocations: 0.8494 MB / 0.7219 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008575/0.8404, allocations: 0.494 MB / 0.7223 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.8405, allocations: 54.97 kB / 0.7224 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.8432, allocations: 1.303 MB / 0.7237 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.8434, allocations: 173.1 kB / 0.7238 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003801/0.8438, allocations: 373.9 kB / 0.7242 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002304/0.8461, allocations: 1.637 MB / 0.7258 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.8461, allocations: 1.781 kB / 0.7258 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8461, allocations: 0.9062 kB / 0.7258 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.8461, allocations: 0.5625 kB / 0.7258 GB, free: 3.957 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.001873/0.848, allocations: 1.103 MB / 0.7269 GB, free: 19.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.848, allocations: 10.3 kB / 0.7269 GB, free: 19.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.8493, allocations: 160.3 kB / 0.727 GB, free: 19.33 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000671/0.85, allocations: 0.5094 MB / 0.7275 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.85, allocations: 35.11 kB / 0.7276 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.8501, allocations: 43.78 kB / 0.7276 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.8511, allocations: 0.6431 MB / 0.7282 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.8511, allocations: 5.203 kB / 0.7282 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/0.8512, allocations: 23.89 kB / 0.7283 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.8512, allocations: 10.03 kB / 0.7283 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007512/0.8519, allocations: 0.4956 MB / 0.7287 GB, free: 18.92 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.002457/0.8544, allocations: 2.642 MB / 0.7313 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.855, allocations: 331.7 kB / 0.7316 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.8552, allocations: 156.6 kB / 0.7318 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003398/0.8556, allocations: 441.7 kB / 0.7322 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.8556, allocations: 39.31 kB / 0.7323 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.924e-06/0.8556, allocations: 0.9062 kB / 0.7323 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001379/0.857, allocations: 0.7088 MB / 0.7329 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.8571, allocations: 160.5 kB / 0.7331 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.8576, allocations: 0.5216 MB / 0.7336 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.8576, allocations: 36.8 kB / 0.7336 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.8578, allocations: 301.3 kB / 0.7339 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/0.8579, allocations: 119.6 kB / 0.734 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.858, allocations: 123.3 kB / 0.7342 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.8581, allocations: 364.9 kB / 0.7345 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.8584, allocations: 145 kB / 0.7346 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.8587, allocations: 319 kB / 0.735 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/0.8593, allocations: 484.8 kB / 0.7354 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.8593, allocations: 0 / 0.7354 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008127/0.8601, allocations: 0.5653 MB / 0.736 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.8601, allocations: 9.75 kB / 0.736 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8601, allocations: 9.656 kB / 0.736 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.8615, allocations: 239.6 kB / 0.7362 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.8619, allocations: 117.7 kB / 0.7363 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003863/0.8623, allocations: 0.5931 MB / 0.7369 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.8627, allocations: 54.44 kB / 0.737 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/0.8627, allocations: 54.97 kB / 0.737 GB, free: 14.62 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.0002172/0.863, allocations: 193.9 kB / 0.7372 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.8631, allocations: 60.62 kB / 0.7373 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.8646, allocations: 1.096 MB / 0.7383 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.8646, allocations: 3.719 kB / 0.7383 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8646, allocations: 5.781 kB / 0.7383 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.8647, allocations: 134.3 kB / 0.7385 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.8648, allocations: 18.19 kB / 0.7385 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.8651, allocations: 13.53 kB / 0.7385 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.8652, allocations: 24.34 kB / 0.7385 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006381/0.8658, allocations: 421.8 kB / 0.7389 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007291/0.8666, allocations: 0.6332 MB / 0.7395 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001726/0.8668, allocations: 115.9 kB / 0.7396 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004086/0.8672, allocations: 421.7 kB / 0.74 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of Backend: time 5.01e-07/0.8672, allocations: 4.188 kB / 0.7401 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002038/0.8692, allocations: 0.7666 MB / 0.7408 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002379/0.8716, allocations: 1.709 MB / 0.7425 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of Templates: time 0.02779/0.8994, allocations: 19.04 MB / 0.7611 GB, free: 10.21 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)