Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009123/0.009123, allocations: 102.3 kB / 15.73 MB, free: 6.039 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.002008/0.002008, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3661/0.3661, allocations: 38 MB / 307.9 MB, free: 10.09 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.002789/0.002789, allocations: 71.89 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4038, allocations: 56.46 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.009238/0.413, allocations: 4.546 MB / 494 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009712/0.4228, allocations: 4.007 MB / 498 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.4233, allocations: 1.781 kB / 498.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005132/0.4238, allocations: 62.31 kB / 498.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003829/0.4277, allocations: 0.7215 MB / 498.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.4282, allocations: 138.3 kB / 499 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008341/0.4291, allocations: 366.5 kB / 499.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.574e-05/0.4292, allocations: 15.5 kB / 499.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.4295, allocations: 141.8 kB / 499.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003767/0.4299, allocations: 144.8 kB / 499.6 MB, free: 13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.4299, allocations: 8.25 kB / 499.6 MB, free: 13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.4316, allocations: 430.7 kB / 0.4883 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.4318, allocations: 49.09 kB / 0.4884 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.432, allocations: 109.7 kB / 0.4885 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.4331, allocations: 469.9 kB / 0.4889 GB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4332, allocations: 0 / 0.4889 GB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4332, allocations: 5.562 kB / 0.4889 GB, free: 12.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.4332, allocations: 0 / 0.4889 GB, free: 12.63 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001601/0.4348, allocations: 0.6053 MB / 0.4895 GB, free: 12.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.4349, allocations: 13.48 kB / 0.4895 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.4351, allocations: 24.67 kB / 0.4896 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.4355, allocations: 231.8 kB / 0.4898 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.4357, allocations: 127.2 kB / 0.4899 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.4358, allocations: 19.5 kB / 0.4899 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007802/0.4366, allocations: 335.9 kB / 0.4902 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.4366, allocations: 1.344 kB / 0.4902 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.4367, allocations: 11.81 kB / 0.4903 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.4367, allocations: 7.047 kB / 0.4903 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.4382, allocations: 0.7456 MB / 0.491 GB, free: 11.44 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.001777/0.4399, allocations: 1.296 MB / 0.4923 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.4404, allocations: 160.5 kB / 0.4924 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.4407, allocations: 91.39 kB / 0.4925 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002725/0.4434, allocations: 2.813 MB / 0.4952 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.4434, allocations: 37.22 kB / 0.4953 GB, free: 7.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.094e-06/0.4435, allocations: 0 / 0.4953 GB, free: 7.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004279/0.4439, allocations: 117.4 kB / 0.4954 GB, free: 7.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.444, allocations: 54.56 kB / 0.4954 GB, free: 6.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.4442, allocations: 220.6 kB / 0.4957 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4443, allocations: 27.2 kB / 0.4957 GB, free: 6.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.4444, allocations: 222.5 kB / 0.4959 GB, free: 6.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.4445, allocations: 47.45 kB / 0.4959 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.4446, allocations: 89.22 kB / 0.496 GB, free: 6.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.4447, allocations: 330.8 kB / 0.4963 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.4449, allocations: 43.38 kB / 0.4964 GB, free: 6.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.4452, allocations: 349 kB / 0.4967 GB, free: 5.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.4457, allocations: 438.1 kB / 0.4971 GB, free: 5.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.4458, allocations: 7.594 kB / 0.4971 GB, free: 5.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008149/0.4466, allocations: 379.1 kB / 0.4975 GB, free: 5.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.4466, allocations: 14.78 kB / 0.4975 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.4467, allocations: 10.41 kB / 0.4975 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.969e-05/0.4467, allocations: 17.06 kB / 0.4975 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.4471, allocations: 101.3 kB / 0.4976 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-05/0.4471, allocations: 20.41 kB / 0.4977 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.4475, allocations: 54.56 kB / 0.4977 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.674e-05/0.4476, allocations: 31.62 kB / 0.4977 GB, free: 5.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.4478, allocations: 144.1 kB / 0.4979 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.4478, allocations: 25.56 kB / 0.4979 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003814/0.4482, allocations: 141.3 kB / 0.498 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.4483, allocations: 4.938 kB / 0.498 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.4483, allocations: 6.625 kB / 0.498 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4483, allocations: 0 / 0.498 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.4488, allocations: 408.8 kB / 0.4984 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.4489, allocations: 5.766 kB / 0.4984 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.4489, allocations: 13.33 kB / 0.4985 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.449, allocations: 1.156 kB / 0.4985 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.449, allocations: 6.125 kB / 0.4985 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.449, allocations: 6.031 kB / 0.4985 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.449, allocations: 1.094 kB / 0.4985 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.4493, allocations: 200.5 kB / 0.4987 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.49e-05/0.4494, allocations: 107 kB / 0.4988 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.4494, allocations: 3.328 kB / 0.4988 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.4497, allocations: 14.75 kB / 0.4988 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.4497, allocations: 4.656 kB / 0.4988 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.4497, allocations: 8.688 kB / 0.4988 GB, free: 4.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.45, allocations: 152.1 kB / 0.4989 GB, free: 4.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.45, allocations: 1.094 kB / 0.4989 GB, free: 4.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008094/0.4508, allocations: 94.97 kB / 0.499 GB, free: 4.012 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004084/0.4512, allocations: 170.6 kB / 0.4992 GB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004565/0.4517, allocations: 167.1 kB / 0.4993 GB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.4517, allocations: 5.312 kB / 0.4994 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.063e-05/0.4518, allocations: 24.8 kB / 0.4994 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.4524, allocations: 48.3 kB / 0.4994 GB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.4537, allocations: 0.5266 MB / 0.4999 GB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.454, allocations: 0.7259 MB / 0.5006 GB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.4542, allocations: 51.53 kB / 0.5007 GB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.4543, allocations: 29.36 kB / 0.5007 GB, free: 2.746 MB / 382.1 MB Notification: Performance of SimCode: time 1.382e-06/0.4543, allocations: 0 / 0.5007 GB, free: 2.746 MB / 382.1 MB Notification: Performance of Templates: time 0.01086/0.4652, allocations: 3.128 MB / 0.5038 GB, free: 1.543 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1)