Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.0007882/0.0007883, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005117/0.005117, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.435/1.435, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3552/0.3552, allocations: 38.04 MB / 308.8 MB, free: 10.43 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.0005981/0.0005981, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1253, allocations: 57.52 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0204/0.1457, allocations: 20.37 MB / 455 MB, free: 0.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.267/0.4128, allocations: 4.381 MB / 459.3 MB, free: 33.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.4144, allocations: 26.53 kB / 459.4 MB, free: 33.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.4159, allocations: 273.7 kB / 459.6 MB, free: 33.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002995/0.4189, allocations: 0.8064 MB / 460.4 MB, free: 33.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.4215, allocations: 0.8097 MB / 461.2 MB, free: 33.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002802/0.4244, allocations: 2.658 MB / 463.9 MB, free: 33.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006162/0.425, allocations: 397.7 kB / 464.3 MB, free: 33.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.4265, allocations: 0.8092 MB / 465.1 MB, free: 33.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008577/0.4274, allocations: 0.656 MB / 465.8 MB, free: 33.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.611e-05/0.4275, allocations: 31.38 kB / 465.8 MB, free: 33.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007396/0.4283, allocations: 265 kB / 466 MB, free: 32.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.4285, allocations: 237.7 kB / 466.3 MB, free: 32.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.4288, allocations: 386.6 kB / 466.7 MB, free: 32.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000905/0.4297, allocations: 1.048 MB / 467.7 MB, free: 32.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4297, allocations: 0 / 467.7 MB, free: 32.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4298, allocations: 3.938 kB / 467.7 MB, free: 32.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.4298, allocations: 0 / 467.7 MB, free: 32.66 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001891/0.4317, allocations: 0.9089 MB / 468.6 MB, free: 32.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4317, allocations: 13.62 kB / 468.6 MB, free: 32.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/0.432, allocations: 92.81 kB / 468.7 MB, free: 32.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006745/0.4327, allocations: 0.4972 MB / 469.2 MB, free: 31.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.4328, allocations: 104.1 kB / 469.3 MB, free: 31.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.163e-05/0.4329, allocations: 51.41 kB / 469.4 MB, free: 31.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.434, allocations: 0.8352 MB / 470.2 MB, free: 31.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.4341, allocations: 3.344 kB / 470.2 MB, free: 31.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.746e-05/0.4341, allocations: 24.34 kB / 470.2 MB, free: 31.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.097e-05/0.4342, allocations: 36.78 kB / 470.3 MB, free: 31.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009853/0.4352, allocations: 0.6531 MB / 470.9 MB, free: 31.43 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.003814/0.439, allocations: 4.211 MB / 475.1 MB, free: 28.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007756/0.4398, allocations: 413.5 kB / 475.5 MB, free: 28.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.4401, allocations: 206.9 kB / 475.7 MB, free: 28.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003906/0.4405, allocations: 0.5065 MB / 476.2 MB, free: 28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.4405, allocations: 37.42 kB / 476.3 MB, free: 27.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.395e-06/0.4405, allocations: 0 / 476.3 MB, free: 27.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.002803/0.4433, allocations: 1.529 MB / 477.8 MB, free: 27.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.4434, allocations: 139 kB / 477.9 MB, free: 27.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005287/0.4439, allocations: 0.5649 MB / 478.5 MB, free: 27.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.444, allocations: 30.52 kB / 478.5 MB, free: 27.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.4442, allocations: 365.5 kB / 478.9 MB, free: 27.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.4443, allocations: 160.9 kB / 479.1 MB, free: 26.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.4444, allocations: 63.7 kB / 479.1 MB, free: 26.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.4445, allocations: 382.3 kB / 479.5 MB, free: 26.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.4448, allocations: 221.6 kB / 479.7 MB, free: 26.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.4452, allocations: 0.5233 MB / 480.2 MB, free: 26.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/0.446, allocations: 0.7759 MB / 481 MB, free: 25.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.446, allocations: 7.188 kB / 481 MB, free: 25.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001485/0.4475, allocations: 0.9384 MB / 481.9 MB, free: 25.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4475, allocations: 13.06 kB / 482 MB, free: 25.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4476, allocations: 9.094 kB / 482 MB, free: 25.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.4486, allocations: 275.6 kB / 482.2 MB, free: 25.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.449, allocations: 124.6 kB / 482.4 MB, free: 25.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007317/0.4497, allocations: 0.8658 MB / 483.2 MB, free: 24.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.4502, allocations: 49.09 kB / 483.3 MB, free: 24.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.201e-05/0.4502, allocations: 39 kB / 483.3 MB, free: 24.58 MB / 382.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.0002711/0.4505, allocations: 242.1 kB / 483.6 MB, free: 24.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.929e-05/0.4506, allocations: 62.59 kB / 483.6 MB, free: 24.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.4518, allocations: 0.7236 MB / 484.3 MB, free: 24.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.4518, allocations: 2.906 kB / 484.3 MB, free: 24.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.4518, allocations: 3.031 kB / 484.3 MB, free: 24.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4518, allocations: 3.469 kB / 484.3 MB, free: 24.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.4536, allocations: 1.398 MB / 485.7 MB, free: 23.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4536, allocations: 0 / 485.7 MB, free: 23.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008782/0.4545, allocations: 200.5 kB / 485.9 MB, free: 23.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002618/0.4548, allocations: 63.28 kB / 486 MB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.4548, allocations: 20.48 kB / 486 MB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.4565, allocations: 2.782 MB / 488.8 MB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4565, allocations: 7.375 kB / 488.8 MB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.4577, allocations: 1.009 MB / 489.8 MB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.4579, allocations: 199.2 kB / 490 MB, free: 19.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/0.458, allocations: 16.66 kB / 490 MB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.4584, allocations: 26.3 kB / 490.1 MB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.4585, allocations: 43.22 kB / 490.1 MB, free: 19.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.4586, allocations: 20.92 kB / 490.1 MB, free: 19.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003923/0.459, allocations: 417.4 kB / 490.5 MB, free: 19.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.459, allocations: 3 kB / 490.5 MB, free: 19.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008211/0.4598, allocations: 207.9 kB / 490.7 MB, free: 19.5 MB / 382.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.0004748/0.4603, allocations: 237.5 kB / 491 MB, free: 19.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009908/0.4613, allocations: 0.6023 MB / 491.6 MB, free: 19.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4613, allocations: 2.938 kB / 491.6 MB, free: 19.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.4624, allocations: 483.7 kB / 492 MB, free: 18.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.4641, allocations: 363.8 kB / 492.4 MB, free: 18.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.4661, allocations: 1.712 MB / 494.1 MB, free: 17.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.4664, allocations: 0.9385 MB / 495 MB, free: 17.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006764/0.4671, allocations: 212.9 kB / 495.3 MB, free: 17.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.4673, allocations: 62.05 kB / 495.3 MB, free: 17.07 MB / 382.1 MB Notification: Performance of SimCode: time 5.62e-07/0.4673, allocations: 0 / 495.3 MB, free: 17.07 MB / 382.1 MB Notification: Performance of Templates: time 0.03169/0.499, allocations: 14.43 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) Environment - environmentSimulation: