Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.009647/0.009647, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001637/0.001637, allocations: 193.5 kB / 16.67 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.735/1.735, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2261/0.2261, allocations: 39.97 MB / 309.9 MB, free: 4.008 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.2. 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.001463/0.001463, allocations: 73.45 kB / 435.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1402, allocations: 56.88 MB / 492.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.6371/0.7773, allocations: 187.7 MB / 0.6644 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01111/0.7885, allocations: 7.036 MB / 0.6713 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009243/0.7896, allocations: 19.88 kB / 0.6713 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.7908, allocations: 337.7 kB / 0.6716 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008592/0.7994, allocations: 2.374 MB / 0.6739 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.8024, allocations: 0.9427 MB / 0.6749 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003234/0.8056, allocations: 1.699 MB / 0.6765 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008291/0.8065, allocations: 450.1 kB / 0.677 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.8083, allocations: 0.8448 MB / 0.6778 GB, free: 12 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007072/0.809, allocations: 494.1 kB / 0.6782 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.021e-05/0.8091, allocations: 60 kB / 0.6783 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003543/0.8127, allocations: 1.505 MB / 0.6798 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.8129, allocations: 171.4 kB / 0.6799 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004622/0.8134, allocations: 370.4 kB / 0.6803 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.8163, allocations: 1.745 MB / 0.682 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8163, allocations: 0 / 0.682 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8164, allocations: 0 / 0.682 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.8164, allocations: 4 kB / 0.682 GB, free: 11.68 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.002094/0.8185, allocations: 1.138 MB / 0.6831 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.8185, allocations: 15.89 kB / 0.6831 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.8197, allocations: 159 kB / 0.6833 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/0.8206, allocations: 0.5081 MB / 0.6838 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.8207, allocations: 37 kB / 0.6838 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/0.8207, allocations: 40 kB / 0.6838 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.8219, allocations: 0.6322 MB / 0.6845 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.8219, allocations: 4 kB / 0.6845 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.822, allocations: 27.94 kB / 0.6845 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.822, allocations: 13.75 kB / 0.6845 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008612/0.8229, allocations: 0.4917 MB / 0.685 GB, free: 8.477 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.00328/0.8262, allocations: 2.664 MB / 0.6876 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.8268, allocations: 325.4 kB / 0.6879 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.8271, allocations: 160.7 kB / 0.6881 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/0.8286, allocations: 1.296 MB / 0.6893 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.8287, allocations: 42.56 kB / 0.6894 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.685e-06/0.8287, allocations: 0 / 0.6894 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001617/0.8303, allocations: 0.6977 MB / 0.69 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.183e-05/0.8304, allocations: 162.1 kB / 0.6902 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006061/0.831, allocations: 0.5223 MB / 0.6907 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.8311, allocations: 33.7 kB / 0.6907 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.8313, allocations: 299.6 kB / 0.691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.8314, allocations: 126.2 kB / 0.6911 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.8316, allocations: 118.2 kB / 0.6913 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.8318, allocations: 366.8 kB / 0.6916 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.832, allocations: 141.1 kB / 0.6917 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.8325, allocations: 322.9 kB / 0.6921 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006738/0.8332, allocations: 470.8 kB / 0.6925 GB, free: 120 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8332, allocations: 0 / 0.6925 GB, free: 120 kB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009846/0.8342, allocations: 0.5679 MB / 0.6931 GB, free: 15.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.8342, allocations: 20.05 kB / 0.6931 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.8342, allocations: 7.938 kB / 0.6931 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.8357, allocations: 232.5 kB / 0.6933 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.8361, allocations: 119.8 kB / 0.6934 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004657/0.8366, allocations: 0.5865 MB / 0.694 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.837, allocations: 55.38 kB / 0.694 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.679e-05/0.8371, allocations: 56.05 kB / 0.6941 GB, free: 14.44 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.0002506/0.8373, allocations: 201.5 kB / 0.6943 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.8375, allocations: 67.25 kB / 0.6944 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.8388, allocations: 0.731 MB / 0.6951 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.8389, allocations: 8 kB / 0.6951 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.8389, allocations: 3.984 kB / 0.6951 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.8389, allocations: 0 / 0.6951 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.8403, allocations: 1.019 MB / 0.6961 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.8403, allocations: 0 / 0.6961 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.8405, allocations: 55.91 kB / 0.6961 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003099/0.8436, allocations: 444.2 kB / 0.6966 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.8437, allocations: 8 kB / 0.6966 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004536/0.8441, allocations: 0.603 MB / 0.6971 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8442, allocations: 4.062 kB / 0.6972 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007813/0.8449, allocations: 0.4933 MB / 0.6976 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.8451, allocations: 140.3 kB / 0.6978 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.332e-05/0.8452, allocations: 8 kB / 0.6978 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.8455, allocations: 19.94 kB / 0.6978 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.8456, allocations: 27.91 kB / 0.6978 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.8457, allocations: 15.98 kB / 0.6978 GB, free: 10.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005587/0.8462, allocations: 442.8 kB / 0.6983 GB, free: 9.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8462, allocations: 4 kB / 0.6983 GB, free: 9.977 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001097/0.8473, allocations: 339.7 kB / 0.6986 GB, free: 9.645 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.001091/0.8484, allocations: 449.4 kB / 0.699 GB, free: 9.199 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008491/0.8493, allocations: 385.1 kB / 0.6994 GB, free: 8.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8493, allocations: 4.312 kB / 0.6994 GB, free: 8.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.8496, allocations: 155.8 kB / 0.6995 GB, free: 8.668 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.8516, allocations: 414.4 kB / 0.6999 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.8531, allocations: 0.9298 MB / 0.7008 GB, free: 7.297 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.8536, allocations: 0.8676 MB / 0.7017 GB, free: 6.402 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006952/0.8544, allocations: 221.1 kB / 0.7019 GB, free: 6.184 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.8546, allocations: 79.42 kB / 0.702 GB, free: 6.105 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.8546, allocations: 0 / 0.702 GB, free: 6.105 MB / 0.545 GB Notification: Performance of Templates: time 0.03439/0.889, allocations: 18.33 MB / 0.7199 GB, free: 3.785 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)