Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") 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: 86.56 kB / 15.06 MB, free: 1.09 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.00167/0.00167, allocations: 168.7 kB / 15.95 MB, free: 204 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.475/1.475, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3608/0.3608, allocations: 38.02 MB / 308.4 MB, free: 10.34 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.0005827/0.0005828, allocations: 16 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1192, allocations: 57.53 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.2794/0.3987, allocations: 36.62 MB / 470.6 MB, free: 33.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01961/0.4184, allocations: 18.86 MB / 489.5 MB, free: 22.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.4196, allocations: 20.91 kB / 489.5 MB, free: 22.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.4207, allocations: 367.2 kB / 489.8 MB, free: 22.58 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01294/0.4337, allocations: 4.051 MB / 493.9 MB, free: 20.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006412/0.4401, allocations: 2.033 MB / 495.9 MB, free: 19.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002769/0.4429, allocations: 2.35 MB / 498.3 MB, free: 18.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000599/0.4435, allocations: 404.6 kB / 498.7 MB, free: 18.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01022/0.4537, allocations: 6.4 MB / 0.4932 GB, free: 17.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01571/0.4695, allocations: 9.094 MB / 0.5021 GB, free: 16.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002734/0.4698, allocations: 38.88 kB / 0.5022 GB, free: 16.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01913/0.4889, allocations: 6.823 MB / 0.5088 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006224/0.4896, allocations: 243.6 kB / 0.509 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000504/0.4901, allocations: 185.5 kB / 0.5092 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008234/0.4984, allocations: 3.379 MB / 0.5125 GB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.4984, allocations: 0 / 0.5125 GB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4984, allocations: 0 / 0.5125 GB, free: 13.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.4984, allocations: 4 kB / 0.5125 GB, free: 13.01 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005138/0.5036, allocations: 1.47 MB / 0.514 GB, free: 11.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5036, allocations: 8.562 kB / 0.514 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.5049, allocations: 218.9 kB / 0.5142 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006787/0.5056, allocations: 0.5277 MB / 0.5147 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-05/0.5057, allocations: 112.7 kB / 0.5148 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.5058, allocations: 56 kB / 0.5149 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.5073, allocations: 1.079 MB / 0.5159 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.5074, allocations: 3.125 kB / 0.5159 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.778e-05/0.5074, allocations: 28 kB / 0.5159 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/0.5075, allocations: 44.92 kB / 0.516 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.5088, allocations: 0.8193 MB / 0.5168 GB, free: 8.445 MB / 382.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.004328/0.5132, allocations: 5.572 MB / 0.5222 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009988/0.5142, allocations: 0.5401 MB / 0.5228 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.5144, allocations: 206.5 kB / 0.5229 GB, free: 1.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08385/0.5983, allocations: 47.88 MB / 0.5697 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.939e-05/0.5984, allocations: 39.12 kB / 0.5697 GB, free: 12.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 3.216e-06/0.5984, allocations: 4 kB / 0.5697 GB, free: 12.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.006277/0.6047, allocations: 2.127 MB / 0.5718 GB, free: 10.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.6048, allocations: 187.9 kB / 0.572 GB, free: 9.789 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007972/0.6056, allocations: 0.6405 MB / 0.5726 GB, free: 9.141 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.6057, allocations: 33.7 kB / 0.5727 GB, free: 9.102 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.606, allocations: 403.1 kB / 0.573 GB, free: 8.703 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.6061, allocations: 165.9 kB / 0.5732 GB, free: 8.539 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.6061, allocations: 12 kB / 0.5732 GB, free: 8.527 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6063, allocations: 382.7 kB / 0.5736 GB, free: 8.145 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.6067, allocations: 225.9 kB / 0.5738 GB, free: 7.926 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.6072, allocations: 0.5829 MB / 0.5744 GB, free: 7.168 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.6078, allocations: 339.6 kB / 0.5747 GB, free: 6.836 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.6078, allocations: 8 kB / 0.5747 GB, free: 6.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001359/0.6091, allocations: 0.8766 MB / 0.5756 GB, free: 5.941 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.6092, allocations: 19.92 kB / 0.5756 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.6092, allocations: 15.94 kB / 0.5756 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002745/0.612, allocations: 272.5 kB / 0.5758 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.6131, allocations: 283.9 kB / 0.5761 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.6147, allocations: 2.03 MB / 0.5781 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007026/0.6154, allocations: 59.97 kB / 0.5782 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-05/0.6155, allocations: 44 kB / 0.5782 GB, free: 3.078 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004276/0.6159, allocations: 273.5 kB / 0.5785 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.6161, allocations: 75.11 kB / 0.5785 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.6185, allocations: 2.022 MB / 0.5805 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.6185, allocations: 32.02 kB / 0.5805 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6185, allocations: 0 / 0.5805 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.6185, allocations: 0 / 0.5805 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/0.622, allocations: 2.992 MB / 0.5835 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.6221, allocations: 3.984 kB / 0.5835 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008483/0.6229, allocations: 187.8 kB / 0.5836 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.6245, allocations: 308.8 kB / 0.5839 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.6245, allocations: 16 kB / 0.584 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.6261, allocations: 2.078 MB / 0.586 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6261, allocations: 3.953 kB / 0.586 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.6282, allocations: 1.936 MB / 0.5879 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/0.6287, allocations: 291.3 kB / 0.5882 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.6288, allocations: 12.88 kB / 0.5882 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005599/0.6294, allocations: 31.98 kB / 0.5882 GB, free: 8.531 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.6295, allocations: 36.34 kB / 0.5882 GB, free: 8.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-05/0.6296, allocations: 19.98 kB / 0.5882 GB, free: 8.477 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001011/0.6306, allocations: 0.5615 MB / 0.5888 GB, free: 7.922 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6306, allocations: 0 / 0.5888 GB, free: 7.922 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005286/0.6359, allocations: 1.097 MB / 0.5899 GB, free: 6.824 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006853/0.6428, allocations: 1.198 MB / 0.591 GB, free: 5.621 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002219/0.645, allocations: 0.9052 MB / 0.5919 GB, free: 4.719 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.6451, allocations: 4.125 kB / 0.5919 GB, free: 4.715 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.6464, allocations: 0.6396 MB / 0.5926 GB, free: 4.078 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.6489, allocations: 387.6 kB / 0.5929 GB, free: 3.695 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.6531, allocations: 2.577 MB / 0.5954 GB, free: 1.094 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008625/0.654, allocations: 1.097 MB / 0.5965 GB, free: 15.97 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.655, allocations: 350.2 kB / 0.5968 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.6552, allocations: 59.44 kB / 0.5969 GB, free: 15.56 MB / 478.1 MB Notification: Performance of SimCode: time 1.233e-06/0.6552, allocations: 0 / 0.5969 GB, free: 15.56 MB / 478.1 MB Notification: Performance of Templates: time 0.2577/0.9128, allocations: 44.71 MB / 0.6406 GB, free: 152 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) Environment - environmentSimulation: