Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001227/0.001227, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001607/0.001607, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4071/0.4071, allocations: 38.04 MB / 308.4 MB, free: 10.43 MB / 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005863/0.0005863, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1539, allocations: 57.52 MB / 433.9 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4966/0.6506, allocations: 145.8 MB / 0.5661 GB, free: 5.734 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.664, allocations: 9.26 MB / 0.5752 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009681/0.665, allocations: 19.81 kB / 0.5752 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.6661, allocations: 270.7 kB / 0.5754 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00686/0.6729, allocations: 1.819 MB / 0.5772 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.6759, allocations: 0.7894 MB / 0.578 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002585/0.6785, allocations: 1.016 MB / 0.579 GB, free: 9.047 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006461/0.6792, allocations: 368.1 kB / 0.5793 GB, free: 8.691 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001689/0.6809, allocations: 0.6778 MB / 0.58 GB, free: 8.012 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005372/0.6814, allocations: 386.6 kB / 0.5804 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.926e-05/0.6815, allocations: 24 kB / 0.5804 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.6848, allocations: 1.237 MB / 0.5816 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.685, allocations: 143.5 kB / 0.5817 GB, free: 6.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.6852, allocations: 157.4 kB / 0.5819 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.6871, allocations: 1.15 MB / 0.583 GB, free: 4.922 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6871, allocations: 0 / 0.583 GB, free: 4.922 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6871, allocations: 0 / 0.583 GB, free: 4.922 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.6871, allocations: 4 kB / 0.583 GB, free: 4.918 MB / 446.1 MB 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.001923/0.689, allocations: 0.9813 MB / 0.584 GB, free: 3.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.6891, allocations: 8.031 kB / 0.584 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.6902, allocations: 151.1 kB / 0.5841 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008614/0.6911, allocations: 476.7 kB / 0.5846 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.6911, allocations: 37 kB / 0.5846 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/0.6912, allocations: 40 kB / 0.5846 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.6924, allocations: 0.6399 MB / 0.5853 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.6925, allocations: 0 / 0.5853 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.6925, allocations: 21.5 kB / 0.5853 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.6926, allocations: 12 kB / 0.5853 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008433/0.6934, allocations: 0.4918 MB / 0.5858 GB, free: 1.941 MB / 446.1 MB 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.003325/0.6968, allocations: 2.656 MB / 0.5884 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/0.6974, allocations: 314.9 kB / 0.5887 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004121/0.6978, allocations: 327.7 kB / 0.589 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.6979, allocations: 50.48 kB / 0.589 GB, free: 14.35 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.264e-06/0.6979, allocations: 7.875 kB / 0.589 GB, free: 14.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.001799/0.6997, allocations: 0.6982 MB / 0.5897 GB, free: 13.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.135e-05/0.6998, allocations: 158.2 kB / 0.5899 GB, free: 13.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/0.7006, allocations: 0.5107 MB / 0.5904 GB, free: 12.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.7007, allocations: 33.7 kB / 0.5904 GB, free: 12.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.701, allocations: 299.6 kB / 0.5907 GB, free: 12.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.7012, allocations: 126.2 kB / 0.5908 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.7013, allocations: 8 kB / 0.5908 GB, free: 12.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.7014, allocations: 362.8 kB / 0.5912 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.7017, allocations: 149 kB / 0.5913 GB, free: 11.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.7021, allocations: 323 kB / 0.5916 GB, free: 11.53 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.7024, allocations: 196.9 kB / 0.5918 GB, free: 11.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.7024, allocations: 0 / 0.5918 GB, free: 11.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000979/0.7034, allocations: 0.5711 MB / 0.5924 GB, free: 10.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.7035, allocations: 8 kB / 0.5924 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7035, allocations: 4 kB / 0.5924 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.705, allocations: 293.1 kB / 0.5927 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.7054, allocations: 111.9 kB / 0.5928 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005641/0.706, allocations: 0.5875 MB / 0.5933 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.7064, allocations: 71.38 kB / 0.5934 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/0.7065, allocations: 59.11 kB / 0.5935 GB, free: 9.609 MB / 462.1 MB 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 (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.0002851/0.7068, allocations: 194.7 kB / 0.5936 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.7069, allocations: 63.25 kB / 0.5937 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.7086, allocations: 0.747 MB / 0.5944 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.7086, allocations: 11.98 kB / 0.5944 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.7086, allocations: 0 / 0.5944 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.7086, allocations: 3.953 kB / 0.5945 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.71, allocations: 0.9879 MB / 0.5954 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.71, allocations: 4 kB / 0.5954 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.7102, allocations: 47.98 kB / 0.5955 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003204/0.7135, allocations: 0.5432 MB / 0.596 GB, free: 6.898 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.7135, allocations: 12 kB / 0.596 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000527/0.714, allocations: 0.5961 MB / 0.5966 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.714, allocations: 4.031 kB / 0.5966 GB, free: 6.262 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008503/0.7149, allocations: 0.5692 MB / 0.5972 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.7152, allocations: 156.3 kB / 0.5973 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.7153, allocations: 11.94 kB / 0.5973 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.7157, allocations: 31.95 kB / 0.5973 GB, free: 5.402 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/0.7158, allocations: 27.91 kB / 0.5974 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.7158, allocations: 23.98 kB / 0.5974 GB, free: 5.352 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005502/0.7164, allocations: 410.8 kB / 0.5978 GB, free: 4.953 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7164, allocations: 0 / 0.5978 GB, free: 4.953 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001151/0.7175, allocations: 339.7 kB / 0.5981 GB, free: 4.621 MB / 462.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001493/0.719, allocations: 459.1 kB / 0.5985 GB, free: 4.164 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009003/0.72, allocations: 376.6 kB / 0.5989 GB, free: 3.797 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.72, allocations: 0 / 0.5989 GB, free: 3.797 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.7203, allocations: 156.1 kB / 0.5991 GB, free: 3.648 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.7221, allocations: 329.8 kB / 0.5994 GB, free: 3.328 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.7241, allocations: 1.116 MB / 0.6005 GB, free: 2.168 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/0.7247, allocations: 0.8753 MB / 0.6013 GB, free: 1.262 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001338/0.7261, allocations: 220.1 kB / 0.6015 GB, free: 1.051 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.7264, allocations: 79.41 kB / 0.6016 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of SimCode: time 1.673e-06/0.7264, allocations: 0 / 0.6016 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of Templates: time 0.03132/0.7577, allocations: 15.93 MB / 0.6172 GB, free: 1.082 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) Environment - environmentSimulation: