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.00829/0.00829, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.002044/0.002044, allocations: 199.7 kB / 16.68 MB, free: 5.969 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.498/1.498, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2181/0.2181, allocations: 38.01 MB / 307.9 MB, free: 5.969 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.001745/0.001745, allocations: 75.84 kB / 433 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1476, allocations: 56.47 MB / 489.5 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.6244/0.7721, allocations: 187.7 MB / 0.6613 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01265/0.7848, allocations: 7.03 MB / 0.6682 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.786, allocations: 15.88 kB / 0.6682 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.7875, allocations: 345.7 kB / 0.6685 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008119/0.7956, allocations: 2.373 MB / 0.6708 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003341/0.799, allocations: 0.9428 MB / 0.6717 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00309/0.8021, allocations: 1.691 MB / 0.6734 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007191/0.8028, allocations: 450 kB / 0.6738 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.8045, allocations: 0.841 MB / 0.6746 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006537/0.8052, allocations: 0.4903 MB / 0.6751 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.098e-05/0.8053, allocations: 56 kB / 0.6752 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003722/0.809, allocations: 1.509 MB / 0.6766 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.8093, allocations: 171.4 kB / 0.6768 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005026/0.8098, allocations: 378.3 kB / 0.6772 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002878/0.8127, allocations: 1.738 MB / 0.6789 GB, free: 360 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8127, allocations: 0 / 0.6789 GB, free: 360 kB / 0.5137 GB Notification: Performance of FrontEnd: time 2.715e-06/0.8127, allocations: 0 / 0.6789 GB, free: 360 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.8127, allocations: 0 / 0.6789 GB, free: 360 kB / 0.5137 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.002295/0.815, allocations: 1.141 MB / 0.68 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.8151, allocations: 15.89 kB / 0.68 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.8162, allocations: 155.1 kB / 0.6801 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.8173, allocations: 0.5081 MB / 0.6806 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/0.8173, allocations: 36.98 kB / 0.6807 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.628e-05/0.8174, allocations: 44 kB / 0.6807 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.8187, allocations: 0.6322 MB / 0.6813 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.8188, allocations: 3.938 kB / 0.6813 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.8188, allocations: 27.94 kB / 0.6814 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.8188, allocations: 8 kB / 0.6814 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009118/0.8198, allocations: 0.4956 MB / 0.6819 GB, free: 13.14 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.003502/0.8233, allocations: 2.668 MB / 0.6845 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006454/0.8239, allocations: 318.8 kB / 0.6848 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.8242, allocations: 160.7 kB / 0.6849 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/0.8257, allocations: 1.308 MB / 0.6862 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.8258, allocations: 41.06 kB / 0.6862 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.063e-06/0.8258, allocations: 0 / 0.6862 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001985/0.8278, allocations: 0.6938 MB / 0.6869 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.8279, allocations: 174 kB / 0.6871 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008165/0.8287, allocations: 0.5145 MB / 0.6876 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.8288, allocations: 33.7 kB / 0.6876 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.8291, allocations: 299.6 kB / 0.6879 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.8293, allocations: 130.2 kB / 0.688 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.8295, allocations: 114.1 kB / 0.6881 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002741/0.8298, allocations: 366.8 kB / 0.6885 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.83, allocations: 141.1 kB / 0.6886 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/0.8305, allocations: 318.9 kB / 0.6889 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006929/0.8312, allocations: 470.8 kB / 0.6894 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.8312, allocations: 4 kB / 0.6894 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001017/0.8322, allocations: 0.5635 MB / 0.6899 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.8322, allocations: 7.938 kB / 0.6899 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.8323, allocations: 17.56 kB / 0.69 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/0.8339, allocations: 237.2 kB / 0.6902 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.8342, allocations: 115.9 kB / 0.6903 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005272/0.8348, allocations: 0.5913 MB / 0.6909 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.8352, allocations: 55.38 kB / 0.6909 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.696e-05/0.8353, allocations: 51.98 kB / 0.691 GB, free: 3.109 MB / 0.5294 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.000271/0.8355, allocations: 201.5 kB / 0.6912 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.8357, allocations: 63.41 kB / 0.6912 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.8373, allocations: 0.7418 MB / 0.6919 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.8374, allocations: 7.938 kB / 0.692 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.8374, allocations: 0 / 0.692 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.8374, allocations: 3.984 kB / 0.692 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.839, allocations: 1.023 MB / 0.693 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8391, allocations: 0 / 0.693 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.8393, allocations: 51.97 kB / 0.693 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003111/0.8424, allocations: 448.3 kB / 0.6934 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.8424, allocations: 8 kB / 0.6934 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005187/0.8429, allocations: 0.5914 MB / 0.694 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.843, allocations: 4.031 kB / 0.694 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.8437, allocations: 0.4972 MB / 0.6945 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.8439, allocations: 132.4 kB / 0.6946 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-05/0.8439, allocations: 23.95 kB / 0.6947 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.8443, allocations: 16 kB / 0.6947 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.8443, allocations: 35.78 kB / 0.6947 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.8444, allocations: 19.98 kB / 0.6947 GB, free: 15.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005511/0.8449, allocations: 434.8 kB / 0.6951 GB, free: 14.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.845, allocations: 0 / 0.6951 GB, free: 14.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001009/0.846, allocations: 335.7 kB / 0.6955 GB, free: 14.3 MB / 0.545 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 () * 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 (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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/0.8471, allocations: 455 kB / 0.6959 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000875/0.848, allocations: 380.2 kB / 0.6963 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.848, allocations: 4 kB / 0.6963 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003013/0.8483, allocations: 157.4 kB / 0.6964 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.8502, allocations: 414.2 kB / 0.6968 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.8518, allocations: 0.9259 MB / 0.6977 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008072/0.8527, allocations: 0.8715 MB / 0.6986 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006758/0.8533, allocations: 221.1 kB / 0.6988 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.8536, allocations: 79.42 kB / 0.6988 GB, free: 10.77 MB / 0.545 GB Notification: Performance of SimCode: time 7.02e-07/0.8536, allocations: 0 / 0.6988 GB, free: 10.77 MB / 0.545 GB Notification: Performance of Templates: time 0.03384/0.8874, allocations: 18.31 MB / 0.7167 GB, free: 8.453 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (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)