Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 109.9 kB / 17.09 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 199.3 kB / 18.02 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2214/0.2214, allocations: 43.52 MB / 314.8 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 68.27 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.134, allocations: 57.78 MB / 0.4886 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5317/0.6657, allocations: 187.7 MB / 0.6719 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01287/0.6786, allocations: 7.03 MB / 0.6787 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.6797, allocations: 19.88 kB / 0.6787 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.6812, allocations: 337.7 kB / 0.6791 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009474/0.6907, allocations: 2.372 MB / 0.6814 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003849/0.6946, allocations: 0.9471 MB / 0.6823 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003336/0.6979, allocations: 1.699 MB / 0.684 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.6991, allocations: 450 kB / 0.6844 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.7017, allocations: 0.8371 MB / 0.6852 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.703, allocations: 0.4941 MB / 0.6857 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.7032, allocations: 56 kB / 0.6857 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004309/0.7076, allocations: 1.502 MB / 0.6872 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.7079, allocations: 175.4 kB / 0.6874 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006018/0.7085, allocations: 370.3 kB / 0.6877 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003051/0.7115, allocations: 1.742 MB / 0.6894 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7116, allocations: 4 kB / 0.6894 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7116, allocations: 0 / 0.6894 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.502e-05/0.7116, allocations: 0 / 0.6894 GB, free: 12.7 MB / 0.5294 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.002483/0.7141, allocations: 1.145 MB / 0.6906 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.7141, allocations: 15.89 kB / 0.6906 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.7154, allocations: 159 kB / 0.6907 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009163/0.7163, allocations: 0.5081 MB / 0.6912 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.7164, allocations: 33 kB / 0.6912 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.951e-05/0.7165, allocations: 44 kB / 0.6913 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.7178, allocations: 0.6361 MB / 0.6919 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.7178, allocations: 3.938 kB / 0.6919 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.923e-05/0.7179, allocations: 27.94 kB / 0.6919 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.7179, allocations: 15.98 kB / 0.692 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.719, allocations: 491.6 kB / 0.6924 GB, free: 9.496 MB / 0.5294 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.003644/0.7226, allocations: 2.66 MB / 0.695 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006834/0.7233, allocations: 326.8 kB / 0.6953 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.7236, allocations: 164.8 kB / 0.6955 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/0.7252, allocations: 1.3 MB / 0.6968 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.7253, allocations: 42.56 kB / 0.6968 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.765e-06/0.7253, allocations: 3.938 kB / 0.6968 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001923/0.7272, allocations: 0.6938 MB / 0.6975 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.7274, allocations: 166.1 kB / 0.6976 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007267/0.7281, allocations: 0.5223 MB / 0.6982 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.7282, allocations: 37.7 kB / 0.6982 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.7284, allocations: 295.6 kB / 0.6985 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.818e-05/0.7285, allocations: 118.3 kB / 0.6986 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.7287, allocations: 122.1 kB / 0.6987 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.7289, allocations: 366.8 kB / 0.699 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.7292, allocations: 143.8 kB / 0.6992 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.7296, allocations: 322.9 kB / 0.6995 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007504/0.7304, allocations: 474.7 kB / 0.6999 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.7304, allocations: 4 kB / 0.6999 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001138/0.7316, allocations: 0.564 MB / 0.7005 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.7316, allocations: 15.94 kB / 0.7005 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.7316, allocations: 4 kB / 0.7005 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.7333, allocations: 236.5 kB / 0.7007 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.7337, allocations: 119.8 kB / 0.7009 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000681/0.7344, allocations: 0.5798 MB / 0.7014 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.7348, allocations: 55.38 kB / 0.7015 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-05/0.7349, allocations: 59.98 kB / 0.7015 GB, free: 15.46 MB / 0.545 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.0002888/0.7352, allocations: 193.6 kB / 0.7017 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.7354, allocations: 63.33 kB / 0.7018 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.737, allocations: 0.7443 MB / 0.7025 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.737, allocations: 0 / 0.7025 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.737, allocations: 0 / 0.7025 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.7372, allocations: 136.3 kB / 0.7026 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.7374, allocations: 11.94 kB / 0.7026 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.7377, allocations: 15.98 kB / 0.7027 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.7378, allocations: 19.97 kB / 0.7027 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008259/0.7386, allocations: 417.4 kB / 0.7031 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008865/0.7395, allocations: 0.6357 MB / 0.7037 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002738/0.7398, allocations: 119.9 kB / 0.7038 GB, free: 13.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004888/0.7403, allocations: 418.8 kB / 0.7042 GB, free: 12.63 MB / 0.545 GB Notification: Performance of Backend: time 4.01e-07/0.7403, allocations: 0 / 0.7042 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002464/0.7428, allocations: 0.839 MB / 0.705 GB, free: 11.79 MB / 0.545 GB Notification: Performance of SimCode: time 0.002923/0.7457, allocations: 1.662 MB / 0.7067 GB, free: 10.08 MB / 0.545 GB Notification: Performance of Templates: time 0.03363/0.7793, allocations: 19.81 MB / 0.726 GB, free: 6.281 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)