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.0009856/0.0009861, allocations: 101.7 kB / 15.05 MB, free: 1.105 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.001013/0.001013, allocations: 177.3 kB / 15.94 MB, free: 220 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.606/1.606, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3311/0.3311, allocations: 39.99 MB / 310.4 MB, free: 9.941 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.0005317/0.0005318, allocations: 12 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.117, allocations: 57.96 MB / 436.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01441/0.1315, allocations: 14.24 MB / 451 MB, free: 4.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005641/0.1372, allocations: 4.072 MB / 455.1 MB, free: 220 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007323/0.1379, allocations: 19.81 kB / 455.1 MB, free: 200 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2011/0.3391, allocations: 269 kB / 455.4 MB, free: 34.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.3414, allocations: 0.6988 MB / 456.1 MB, free: 34.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.3433, allocations: 0.6905 MB / 456.8 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001352/0.3446, allocations: 1.021 MB / 457.8 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005217/0.3452, allocations: 382.6 kB / 458.2 MB, free: 34.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.3463, allocations: 0.6313 MB / 458.8 MB, free: 34.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005955/0.3469, allocations: 425.5 kB / 459.2 MB, free: 34.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.464e-05/0.347, allocations: 31.81 kB / 459.2 MB, free: 34.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007431/0.3477, allocations: 238.5 kB / 459.5 MB, free: 34.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.348, allocations: 212 kB / 459.7 MB, free: 34.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.3481, allocations: 161.9 kB / 459.8 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006804/0.3488, allocations: 0.7608 MB / 460.6 MB, free: 34.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3488, allocations: 3.25 kB / 460.6 MB, free: 34.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3488, allocations: 4 kB / 460.6 MB, free: 34.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.3489, allocations: 0 / 460.6 MB, free: 34.71 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.00177/0.3506, allocations: 0.9204 MB / 461.5 MB, free: 34.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.3507, allocations: 9.594 kB / 461.5 MB, free: 34.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003081/0.351, allocations: 86.66 kB / 461.6 MB, free: 34.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000728/0.3517, allocations: 0.4935 MB / 462.1 MB, free: 33.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.3519, allocations: 106.8 kB / 462.2 MB, free: 33.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.36e-05/0.352, allocations: 51.31 kB / 462.3 MB, free: 33.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.3532, allocations: 0.81 MB / 463.1 MB, free: 33.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.3533, allocations: 4 kB / 463.1 MB, free: 33.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.784e-05/0.3533, allocations: 24.64 kB / 463.1 MB, free: 33.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.859e-05/0.3534, allocations: 42.19 kB / 463.1 MB, free: 33.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008689/0.3543, allocations: 0.6403 MB / 463.8 MB, free: 33.56 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.003731/0.358, allocations: 4.245 MB / 468 MB, free: 30.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007033/0.3587, allocations: 411.7 kB / 468.4 MB, free: 30.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003368/0.3591, allocations: 0.5013 MB / 468.9 MB, free: 30.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.3591, allocations: 37.73 kB / 469 MB, free: 30.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.575e-06/0.3591, allocations: 0 / 469 MB, free: 30.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.002903/0.362, allocations: 1.523 MB / 470.5 MB, free: 29.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.3621, allocations: 140.7 kB / 470.6 MB, free: 29.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.3626, allocations: 0.5697 MB / 471.2 MB, free: 29.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.3627, allocations: 34.98 kB / 471.2 MB, free: 29.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.3629, allocations: 354.8 kB / 471.6 MB, free: 29.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.076e-05/0.363, allocations: 165.1 kB / 471.7 MB, free: 29.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.363, allocations: 12.72 kB / 471.8 MB, free: 29.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.3631, allocations: 372.6 kB / 472.1 MB, free: 28.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.3634, allocations: 222.9 kB / 472.3 MB, free: 28.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.3638, allocations: 0.5159 MB / 472.8 MB, free: 28.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.3642, allocations: 316.3 kB / 473.2 MB, free: 28.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3642, allocations: 3.344 kB / 473.2 MB, free: 28.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001611/0.3658, allocations: 0.959 MB / 474.1 MB, free: 28.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3659, allocations: 9.531 kB / 474.1 MB, free: 28.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.3659, allocations: 14.25 kB / 474.1 MB, free: 28.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.3669, allocations: 271.2 kB / 474.4 MB, free: 28.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.3674, allocations: 130.7 kB / 474.5 MB, free: 28.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007353/0.3681, allocations: 0.8551 MB / 475.4 MB, free: 27.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/0.3687, allocations: 50.05 kB / 475.4 MB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.3687, allocations: 34.19 kB / 475.5 MB, free: 27.77 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 (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.0003111/0.3691, allocations: 252.6 kB / 475.7 MB, free: 27.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-05/0.3692, allocations: 62.81 kB / 475.8 MB, free: 27.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.3703, allocations: 0.7221 MB / 476.5 MB, free: 27.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-06/0.3703, allocations: 7.375 kB / 476.5 MB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3703, allocations: 0 / 476.5 MB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3703, allocations: 10.62 kB / 476.5 MB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.3722, allocations: 1.402 MB / 477.9 MB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.3722, allocations: 2.844 kB / 477.9 MB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008982/0.3731, allocations: 192.3 kB / 478.1 MB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002655/0.3734, allocations: 67.66 kB / 478.2 MB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.3734, allocations: 12.78 kB / 478.2 MB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.375, allocations: 2.807 MB / 481 MB, free: 24.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.375, allocations: 3.188 kB / 481 MB, free: 24.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.3763, allocations: 1.081 MB / 482.1 MB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002708/0.3766, allocations: 208.2 kB / 482.3 MB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/0.3767, allocations: 9.156 kB / 482.3 MB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.3771, allocations: 40.23 kB / 482.3 MB, free: 24.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.3772, allocations: 33.41 kB / 482.4 MB, free: 24.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.3772, allocations: 22.03 kB / 482.4 MB, free: 24.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003741/0.3776, allocations: 392.1 kB / 482.8 MB, free: 23.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3776, allocations: 3.281 kB / 482.8 MB, free: 23.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007257/0.3783, allocations: 209.2 kB / 483 MB, free: 23.95 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 (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.0004088/0.3788, allocations: 235.8 kB / 483.2 MB, free: 23.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009863/0.3798, allocations: 0.5947 MB / 483.8 MB, free: 23.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3798, allocations: 2.844 kB / 483.8 MB, free: 23.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009868/0.3808, allocations: 486.3 kB / 484.3 MB, free: 23.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.3822, allocations: 323.1 kB / 484.6 MB, free: 23.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.3841, allocations: 1.646 MB / 486.2 MB, free: 22.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.3844, allocations: 0.9573 MB / 487.2 MB, free: 22.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006722/0.3851, allocations: 207.5 kB / 487.4 MB, free: 22.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.3853, allocations: 57.16 kB / 487.5 MB, free: 22.14 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3853, allocations: 0 / 487.5 MB, free: 22.14 MB / 382.1 MB Notification: Performance of Templates: time 0.02379/0.409, allocations: 13.43 MB / 0.4892 GB, free: 20.56 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: