Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007365/0.007365, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001335/0.001335, allocations: 187.1 kB / 16.67 MB, free: 5.957 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.614/1.614, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.4161/0.4161, allocations: 39.94 MB / 309.8 MB, free: 9.617 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.001863/0.001863, allocations: 67.91 kB / 435.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4183, allocations: 56.87 MB / 492.7 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02093/0.4392, allocations: 20.28 MB / 0.5009 GB, free: 4.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007297/0.4466, allocations: 4.288 MB / 0.5051 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.4479, allocations: 18.59 kB / 0.5051 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.4493, allocations: 314.3 kB / 0.5054 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.4516, allocations: 0.8475 MB / 0.5063 GB, free: 336 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.4546, allocations: 0.8977 MB / 0.5071 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003221/0.4579, allocations: 1.792 MB / 0.5089 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009644/0.4589, allocations: 460.1 kB / 0.5093 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.4615, allocations: 0.9344 MB / 0.5102 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.4626, allocations: 0.6329 MB / 0.5109 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.4628, allocations: 60.56 kB / 0.5109 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.4638, allocations: 307.4 kB / 0.5112 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002865/0.4641, allocations: 259 kB / 0.5115 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004707/0.4646, allocations: 387.8 kB / 0.5118 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.4663, allocations: 1.091 MB / 0.5129 GB, free: 12.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4663, allocations: 0 / 0.5129 GB, free: 12.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4663, allocations: 0 / 0.5129 GB, free: 12.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.4663, allocations: 4 kB / 0.5129 GB, free: 12.15 MB / 398.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.002472/0.4688, allocations: 1.047 MB / 0.5139 GB, free: 11.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4688, allocations: 9.312 kB / 0.5139 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003803/0.4692, allocations: 87.72 kB / 0.514 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.4702, allocations: 0.5343 MB / 0.5145 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.4704, allocations: 108.8 kB / 0.5146 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.903e-05/0.4705, allocations: 47.78 kB / 0.5147 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.472, allocations: 0.8199 MB / 0.5155 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.4721, allocations: 6.531 kB / 0.5155 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.4722, allocations: 26.42 kB / 0.5155 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.01e-05/0.4723, allocations: 37.95 kB / 0.5156 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.4734, allocations: 0.6427 MB / 0.5162 GB, free: 9.797 MB / 398.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.006164/0.4796, allocations: 4.217 MB / 0.5203 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.4807, allocations: 424.2 kB / 0.5207 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/0.4811, allocations: 210.2 kB / 0.5209 GB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006013/0.4817, allocations: 0.4976 MB / 0.5214 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.4818, allocations: 41.27 kB / 0.5214 GB, free: 4.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 3.627e-06/0.4818, allocations: 0 / 0.5214 GB, free: 4.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.003512/0.4853, allocations: 1.528 MB / 0.5229 GB, free: 4.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/0.4854, allocations: 133.5 kB / 0.523 GB, free: 3.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007467/0.4862, allocations: 0.5717 MB / 0.5236 GB, free: 3.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.4862, allocations: 37.33 kB / 0.5236 GB, free: 3.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.4865, allocations: 353.3 kB / 0.524 GB, free: 3.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.4866, allocations: 161.8 kB / 0.5241 GB, free: 3.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.4869, allocations: 141.6 kB / 0.5243 GB, free: 2.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.4871, allocations: 379 kB / 0.5246 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.4875, allocations: 220.8 kB / 0.5248 GB, free: 2.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006521/0.4882, allocations: 0.5251 MB / 0.5254 GB, free: 1.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.4892, allocations: 0.7774 MB / 0.5261 GB, free: 1.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.4892, allocations: 0 / 0.5261 GB, free: 1.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001734/0.491, allocations: 0.9531 MB / 0.527 GB, free: 288 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.491, allocations: 9.094 kB / 0.5271 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.491, allocations: 12 kB / 0.5271 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.4921, allocations: 260.1 kB / 0.5273 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.4926, allocations: 123.8 kB / 0.5274 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009236/0.4935, allocations: 0.8684 MB / 0.5283 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.4941, allocations: 28 kB / 0.5283 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.4941, allocations: 35.98 kB / 0.5283 GB, free: 14.93 MB / 414.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 (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 {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003251/0.4945, allocations: 241.5 kB / 0.5286 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.4946, allocations: 63.25 kB / 0.5286 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.496, allocations: 0.715 MB / 0.5293 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.496, allocations: 7.938 kB / 0.5293 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.496, allocations: 0 / 0.5293 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.496, allocations: 3.984 kB / 0.5293 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.4982, allocations: 1.407 MB / 0.5307 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.4982, allocations: 3.938 kB / 0.5307 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009563/0.4992, allocations: 196 kB / 0.5309 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002276/0.4994, allocations: 56.78 kB / 0.531 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.4994, allocations: 12 kB / 0.531 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/0.5019, allocations: 2.986 MB / 0.5339 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5019, allocations: 0 / 0.5339 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.5035, allocations: 1.001 MB / 0.5349 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.5039, allocations: 200.2 kB / 0.5351 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-05/0.504, allocations: 16.08 kB / 0.5351 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.5043, allocations: 15.94 kB / 0.5351 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.5044, allocations: 51.92 kB / 0.5351 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/0.5045, allocations: 20 kB / 0.5352 GB, free: 7.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005646/0.5051, allocations: 419 kB / 0.5356 GB, free: 7.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5051, allocations: 0 / 0.5356 GB, free: 7.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009256/0.506, allocations: 204 kB / 0.5357 GB, free: 6.891 MB / 414.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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005791/0.5066, allocations: 235 kB / 0.536 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.5079, allocations: 0.6049 MB / 0.5366 GB, free: 6.055 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.5079, allocations: 4 kB / 0.5366 GB, free: 6.051 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.5091, allocations: 482.1 kB / 0.537 GB, free: 5.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.5108, allocations: 382.9 kB / 0.5374 GB, free: 5.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.5134, allocations: 1.404 MB / 0.5388 GB, free: 3.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007112/0.5141, allocations: 0.9385 MB / 0.5397 GB, free: 2.777 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007702/0.5149, allocations: 201.9 kB / 0.5399 GB, free: 2.578 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.5151, allocations: 55.44 kB / 0.5399 GB, free: 2.523 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5151, allocations: 4 kB / 0.5399 GB, free: 2.52 MB / 414.1 MB Notification: Performance of Templates: time 0.03106/0.5462, allocations: 15.51 MB / 0.5551 GB, free: 3.02 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)