Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.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.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001313/0.001313, allocations: 172.7 kB / 15.95 MB, free: 192 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.748/1.748, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3956/0.3956, allocations: 40 MB / 310.4 MB, free: 9.629 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.0005888/0.0005889, allocations: 16 kB / 378.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1402, allocations: 57.96 MB / 436.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2778/0.418, allocations: 41.26 MB / 478.1 MB, free: 29.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005662/0.4237, allocations: 4.224 MB / 482.3 MB, free: 26.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.4248, allocations: 24.72 kB / 482.3 MB, free: 26.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.426, allocations: 254.1 kB / 482.6 MB, free: 26.38 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.002967/0.429, allocations: 0.7891 MB / 483.4 MB, free: 25.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.4314, allocations: 0.6855 MB / 484 MB, free: 25.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002897/0.4344, allocations: 2.198 MB / 486.2 MB, free: 24.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007923/0.4352, allocations: 379.9 kB / 486.6 MB, free: 24.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1241/0.5593, allocations: 73.47 MB / 0.547 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02463/0.584, allocations: 13.72 MB / 0.5604 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.5843, allocations: 32 kB / 0.5604 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02977/0.614, allocations: 18.72 MB / 0.5787 GB, free: 6.895 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006059/0.6147, allocations: 227.3 kB / 0.5789 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004107/0.6151, allocations: 169.3 kB / 0.579 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.6162, allocations: 0.7638 MB / 0.5798 GB, free: 5.734 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6162, allocations: 0 / 0.5798 GB, free: 5.734 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6162, allocations: 0 / 0.5798 GB, free: 5.734 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.6163, allocations: 0 / 0.5798 GB, free: 5.734 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001888/0.6182, allocations: 0.9267 MB / 0.5807 GB, free: 4.762 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.6182, allocations: 12.03 kB / 0.5807 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.6185, allocations: 87.14 kB / 0.5808 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007634/0.6193, allocations: 492.6 kB / 0.5813 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.6194, allocations: 108.3 kB / 0.5814 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.538e-05/0.6195, allocations: 47.98 kB / 0.5814 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.6208, allocations: 0.8182 MB / 0.5822 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.6209, allocations: 7.938 kB / 0.5822 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/0.6209, allocations: 24 kB / 0.5822 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.948e-05/0.621, allocations: 40.98 kB / 0.5823 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.6221, allocations: 0.6361 MB / 0.5829 GB, free: 2.375 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.004524/0.6266, allocations: 4.225 MB / 0.587 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/0.6275, allocations: 423.2 kB / 0.5874 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.6278, allocations: 209.4 kB / 0.5876 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004832/0.6283, allocations: 0.499 MB / 0.5881 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.6284, allocations: 38.89 kB / 0.5881 GB, free: 12.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 1.693e-06/0.6284, allocations: 0 / 0.5881 GB, free: 12.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003048/0.6315, allocations: 1.529 MB / 0.5896 GB, free: 11.01 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/0.6316, allocations: 136.5 kB / 0.5898 GB, free: 10.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000692/0.6323, allocations: 0.5653 MB / 0.5903 GB, free: 10.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.6323, allocations: 41.7 kB / 0.5904 GB, free: 10.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.6326, allocations: 347 kB / 0.5907 GB, free: 9.879 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.6327, allocations: 173.6 kB / 0.5909 GB, free: 9.707 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.6328, allocations: 12 kB / 0.5909 GB, free: 9.695 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.633, allocations: 374.8 kB / 0.5912 GB, free: 9.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.6333, allocations: 221.9 kB / 0.5914 GB, free: 9.105 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/0.634, allocations: 0.5162 MB / 0.5919 GB, free: 8.449 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.6345, allocations: 320.5 kB / 0.5922 GB, free: 8.141 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6345, allocations: 8 kB / 0.5923 GB, free: 8.133 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001857/0.6364, allocations: 0.9526 MB / 0.5932 GB, free: 7.168 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.6364, allocations: 8 kB / 0.5932 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.6364, allocations: 11.98 kB / 0.5932 GB, free: 7.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009932/0.6374, allocations: 278.7 kB / 0.5935 GB, free: 6.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.6378, allocations: 119.8 kB / 0.5936 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.6389, allocations: 0.8683 MB / 0.5944 GB, free: 5.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.6394, allocations: 40.05 kB / 0.5945 GB, free: 5.824 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/0.6395, allocations: 39.98 kB / 0.5945 GB, free: 5.785 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003353/0.6398, allocations: 249.5 kB / 0.5947 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.64, allocations: 67.16 kB / 0.5948 GB, free: 5.465 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.6413, allocations: 0.7104 MB / 0.5955 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.6413, allocations: 8 kB / 0.5955 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.6413, allocations: 0 / 0.5955 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.6413, allocations: 3.984 kB / 0.5955 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.6435, allocations: 1.407 MB / 0.5969 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.6435, allocations: 7.938 kB / 0.5969 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009394/0.6445, allocations: 187.8 kB / 0.5971 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003182/0.6448, allocations: 64.94 kB / 0.5971 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.6449, allocations: 15.98 kB / 0.5972 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0031/0.648, allocations: 2.788 MB / 0.5999 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.648, allocations: 4.031 kB / 0.5999 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.6497, allocations: 0.9918 MB / 0.6008 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003892/0.6501, allocations: 200.2 kB / 0.601 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.6502, allocations: 12 kB / 0.6011 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/0.6506, allocations: 28.05 kB / 0.6011 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.6507, allocations: 35.89 kB / 0.6011 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.6508, allocations: 23.98 kB / 0.6011 GB, free: 14.56 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005335/0.6513, allocations: 390.8 kB / 0.6015 GB, free: 14.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6513, allocations: 0 / 0.6015 GB, free: 14.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008617/0.6522, allocations: 215.9 kB / 0.6017 GB, free: 13.97 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005961/0.6528, allocations: 230.7 kB / 0.6019 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.6543, allocations: 0.6 MB / 0.6025 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.6543, allocations: 0 / 0.6025 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.6556, allocations: 491.5 kB / 0.603 GB, free: 12.65 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.6573, allocations: 324.6 kB / 0.6033 GB, free: 12.34 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.6601, allocations: 1.655 MB / 0.6049 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/0.6608, allocations: 0.9463 MB / 0.6058 GB, free: 9.672 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008819/0.6617, allocations: 208.8 kB / 0.606 GB, free: 9.477 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.662, allocations: 59.42 kB / 0.6061 GB, free: 9.418 MB / 478.1 MB Notification: Performance of SimCode: time 1.292e-06/0.662, allocations: 0 / 0.6061 GB, free: 9.418 MB / 478.1 MB Notification: Performance of Templates: time 0.02528/0.6873, allocations: 13.49 MB / 0.6193 GB, free: 11.96 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) Environment - environmentSimulation: