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.01073/0.01073, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001912/0.001912, allocations: 196.6 kB / 16.68 MB, free: 5.969 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.545/1.545, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.3428/0.3428, allocations: 39.94 MB / 309.8 MB, free: 9.367 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.00149/0.00149, allocations: 75.88 kB / 435.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2806, 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.01946/0.3001, allocations: 20.28 MB / 0.5009 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005812/0.3059, allocations: 4.292 MB / 0.5051 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005969/0.3066, allocations: 19.09 kB / 0.5052 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009331/0.3076, allocations: 309.2 kB / 0.5054 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.3094, allocations: 0.8481 MB / 0.5063 GB, free: 384 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.3116, allocations: 0.9062 MB / 0.5072 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002405/0.3141, allocations: 1.787 MB / 0.5089 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007666/0.3148, allocations: 457.1 kB / 0.5093 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.3169, allocations: 0.9259 MB / 0.5102 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009517/0.3179, allocations: 0.6288 MB / 0.5109 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.3181, allocations: 60.19 kB / 0.5109 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.3191, allocations: 304.3 kB / 0.5112 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.3194, allocations: 266.3 kB / 0.5115 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004724/0.3199, allocations: 392.2 kB / 0.5118 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.3215, allocations: 1.089 MB / 0.5129 GB, free: 12.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3215, allocations: 1 kB / 0.5129 GB, free: 12.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3215, allocations: 0 / 0.5129 GB, free: 12.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.3215, allocations: 0 / 0.5129 GB, free: 12.2 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.002191/0.3237, allocations: 1.07 MB / 0.5139 GB, free: 11.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3237, allocations: 12.44 kB / 0.514 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003618/0.3241, allocations: 92.67 kB / 0.514 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00086/0.325, allocations: 0.5461 MB / 0.5146 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.3251, allocations: 97 kB / 0.5147 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.611e-05/0.3252, allocations: 52.33 kB / 0.5147 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.3265, allocations: 0.8199 MB / 0.5155 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.3266, allocations: 1.062 kB / 0.5155 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-05/0.3266, allocations: 24.3 kB / 0.5155 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.307e-05/0.3267, allocations: 44.56 kB / 0.5156 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.3278, allocations: 0.6525 MB / 0.5162 GB, free: 9.809 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.005261/0.333, allocations: 4.212 MB / 0.5203 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008757/0.3339, allocations: 424.7 kB / 0.5207 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.3343, allocations: 212.8 kB / 0.5209 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005136/0.3348, allocations: 0.4933 MB / 0.5214 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.3349, allocations: 38.39 kB / 0.5215 GB, free: 5.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 2.795e-06/0.3349, allocations: 0 / 0.5215 GB, free: 5.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.003676/0.3386, allocations: 1.537 MB / 0.523 GB, free: 4.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.3387, allocations: 141.8 kB / 0.5231 GB, free: 3.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008229/0.3395, allocations: 0.5678 MB / 0.5237 GB, free: 3.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.3396, allocations: 37.14 kB / 0.5237 GB, free: 3.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.3399, allocations: 362.5 kB / 0.524 GB, free: 3.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.3401, allocations: 170.9 kB / 0.5242 GB, free: 3.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.3403, allocations: 141.4 kB / 0.5243 GB, free: 2.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.3406, allocations: 374.3 kB / 0.5247 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/0.341, allocations: 229.6 kB / 0.5249 GB, free: 2.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006475/0.3416, allocations: 0.5213 MB / 0.5254 GB, free: 1.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.3428, allocations: 0.7811 MB / 0.5262 GB, free: 1.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3428, allocations: 0 / 0.5262 GB, free: 1.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001683/0.3445, allocations: 0.9371 MB / 0.5271 GB, free: 260 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.3445, allocations: 8 kB / 0.5271 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.3445, allocations: 12.88 kB / 0.5271 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.3456, allocations: 276.5 kB / 0.5274 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.3461, allocations: 123.8 kB / 0.5275 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.3471, allocations: 0.8619 MB / 0.5283 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.3476, allocations: 27.98 kB / 0.5284 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.366e-05/0.3477, allocations: 36 kB / 0.5284 GB, free: 14.89 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.0003449/0.3481, allocations: 249.5 kB / 0.5286 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.3482, allocations: 67.58 kB / 0.5287 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.3496, allocations: 0.71 MB / 0.5294 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.3496, allocations: 7.984 kB / 0.5294 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3496, allocations: 0 / 0.5294 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3496, allocations: 0 / 0.5294 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.3518, allocations: 1.407 MB / 0.5308 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.3518, allocations: 3.938 kB / 0.5308 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009612/0.3528, allocations: 199.7 kB / 0.531 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002446/0.353, allocations: 57.02 kB / 0.531 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.3531, allocations: 15.98 kB / 0.531 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/0.3556, allocations: 2.983 MB / 0.534 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3556, allocations: 0 / 0.534 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.3572, allocations: 1.001 MB / 0.5349 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003513/0.3576, allocations: 208.6 kB / 0.5351 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3577, allocations: 19.98 kB / 0.5351 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.3581, allocations: 12 kB / 0.5352 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-05/0.3582, allocations: 43.83 kB / 0.5352 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/0.3583, allocations: 23.98 kB / 0.5352 GB, free: 7.449 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005304/0.3588, allocations: 419 kB / 0.5356 GB, free: 7.039 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3588, allocations: 0 / 0.5356 GB, free: 7.039 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008988/0.3597, allocations: 203.9 kB / 0.5358 GB, free: 6.84 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.000516/0.3602, allocations: 239.5 kB / 0.536 GB, free: 6.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.3614, allocations: 0.6115 MB / 0.5366 GB, free: 5.988 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3614, allocations: 0 / 0.5366 GB, free: 5.988 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.3626, allocations: 487.7 kB / 0.5371 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.3644, allocations: 374 kB / 0.5375 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.3666, allocations: 1.419 MB / 0.5389 GB, free: 3.672 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.3671, allocations: 0.9385 MB / 0.5398 GB, free: 2.703 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00062/0.3677, allocations: 198 kB / 0.54 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.3679, allocations: 63.42 kB / 0.54 GB, free: 2.445 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3679, allocations: 0 / 0.54 GB, free: 2.445 MB / 414.1 MB Notification: Performance of Templates: time 0.02546/0.3933, allocations: 15.29 MB / 0.5549 GB, free: 3.168 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)