Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 97.41 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.009473/0.009474, allocations: 169.5 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.549/1.549, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.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: Performance of FrontEnd - loaded program: time 0.0004659/0.0004659, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2961, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.03405/0.3302, allocations: 15.44 MB / 342.5 MB, free: 3.891 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00579/0.336, allocations: 1.897 MB / 344.4 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005809/0.3367, allocations: 3.938 kB / 344.4 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.3377, allocations: 151.2 kB / 344.5 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.3393, allocations: 302.5 kB / 344.8 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.3407, allocations: 263.6 kB / 345.1 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002415/0.3431, allocations: 1.297 MB / 346.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.3434, allocations: 68.69 kB / 346.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.3454, allocations: 458.1 kB / 346.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008084/0.3462, allocations: 274.9 kB / 347.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.092e-05/0.3463, allocations: 12 kB / 347.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.3465, allocations: 27.98 kB / 347.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.3466, allocations: 75.72 kB / 347.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.3469, allocations: 197 kB / 347.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004919/0.3474, allocations: 416 kB / 347.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3474, allocations: 0 / 347.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3474, allocations: 0 / 347.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.3474, allocations: 0 / 347.9 MB, free: 14.47 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001002/0.3485, allocations: 0.5187 MB / 348.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3485, allocations: 8.031 kB / 348.4 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003341/0.3488, allocations: 44.55 kB / 348.4 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.3493, allocations: 279.7 kB / 348.7 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.3493, allocations: 20.94 kB / 348.7 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.3494, allocations: 24.38 kB / 348.8 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.35, allocations: 311.8 kB / 349.1 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.35, allocations: 4 kB / 349.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.3501, allocations: 12 kB / 349.1 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3501, allocations: 4 kB / 349.1 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004141/0.3505, allocations: 193.5 kB / 349.3 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.3525, allocations: 1.44 MB / 350.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.3529, allocations: 182.6 kB / 350.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.3531, allocations: 84.84 kB / 351 MB, free: 11.13 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.3531, allocations: 3.984 kB / 351 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.3532, allocations: 38.56 kB / 351 MB, free: 11.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 2.956e-06/0.3532, allocations: 0 / 351 MB, free: 11.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.002832/0.356, allocations: 1.004 MB / 352 MB, free: 9.996 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.3561, allocations: 55.41 kB / 352.1 MB, free: 9.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.3564, allocations: 266.5 kB / 352.3 MB, free: 9.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.3565, allocations: 33.7 kB / 352.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3566, allocations: 172.2 kB / 352.5 MB, free: 9.449 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.021e-05/0.3567, allocations: 94.64 kB / 352.6 MB, free: 9.355 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.3568, allocations: 33.7 kB / 352.7 MB, free: 9.316 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3569, allocations: 338.8 kB / 353 MB, free: 8.977 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.3571, allocations: 99.61 kB / 353.1 MB, free: 8.879 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.3573, allocations: 186.9 kB / 353.3 MB, free: 8.656 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/0.3578, allocations: 287 kB / 353.6 MB, free: 8.336 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3578, allocations: 0 / 353.6 MB, free: 8.336 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008342/0.3586, allocations: 383 kB / 353.9 MB, free: 7.949 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3587, allocations: 8 kB / 353.9 MB, free: 7.941 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3587, allocations: 4 kB / 353.9 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003095/0.359, allocations: 61.67 kB / 354 MB, free: 7.871 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.3593, allocations: 67.91 kB / 354.1 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.3617, allocations: 2.674 MB / 356.7 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.362, allocations: 23.97 kB / 356.8 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.3621, allocations: 16.06 kB / 356.8 MB, free: 4.824 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002086/0.3623, allocations: 153.8 kB / 356.9 MB, free: 4.664 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/0.3624, allocations: 31.66 kB / 357 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.538e-05/0.3625, allocations: 38.17 kB / 357 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3625, allocations: 0 / 357 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/0.3625, allocations: 4 kB / 357 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006581/0.3632, allocations: 0.5669 MB / 357.6 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.3643, allocations: 0.6951 MB / 358.3 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3643, allocations: 0 / 358.3 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.3646, allocations: 47.92 kB / 358.3 MB, free: 3.133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002943/0.3649, allocations: 64.72 kB / 358.4 MB, free: 3.066 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.3649, allocations: 4 kB / 358.4 MB, free: 3.062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.3661, allocations: 1.39 MB / 359.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.3662, allocations: 4.031 kB / 359.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007408/0.3669, allocations: 481 kB / 360.2 MB, free: 1.043 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.367, allocations: 104.8 kB / 360.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.3671, allocations: 8 kB / 360.3 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.3673, allocations: 11.92 kB / 360.4 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.3674, allocations: 15.98 kB / 360.4 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.3674, allocations: 20.05 kB / 360.4 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.3676, allocations: 182 kB / 360.6 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3676, allocations: 0 / 360.6 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004464/0.3681, allocations: 92 kB / 360.7 MB, free: 0.5977 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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): 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.0001649/0.3682, allocations: 103.2 kB / 360.8 MB, free: 500 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008191/0.3691, allocations: 477.8 kB / 361.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3691, allocations: 0 / 361.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.3695, allocations: 238.5 kB / 361.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.3706, allocations: 160.5 kB / 361.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3721, allocations: 0.8672 MB / 362.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.3725, allocations: 0.7606 MB / 363.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003441/0.3728, allocations: 54.94 kB / 363.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.3729, allocations: 27.44 kB / 363.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3729, allocations: 0 / 363.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01214/0.3851, allocations: 5.425 MB / 368.8 MB, free: 8.414 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)