Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.00125/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001987/0.001987, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.723/1.723, allocations: 205.1 MB / 222 MB, free: 4.668 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.3774/0.3774, allocations: 39.93 MB / 309.3 MB, free: 9.062 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.00171/0.00171, allocations: 62.42 kB / 376.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1709, allocations: 56.89 MB / 433.8 MB, free: 3.848 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.008776/0.1797, allocations: 4.597 MB / 438.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006531/0.1863, allocations: 4.072 MB / 442.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.1865, allocations: 4 kB / 442.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004131/0.187, allocations: 43.73 kB / 442.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00285/0.1899, allocations: 0.657 MB / 443.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.1904, allocations: 131.8 kB / 443.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007403/0.1912, allocations: 446.1 kB / 443.7 MB, free: 9.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.771e-05/0.1913, allocations: 13.67 kB / 443.8 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.1915, allocations: 139.4 kB / 443.9 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.1917, allocations: 151.4 kB / 444 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.1918, allocations: 8 kB / 444 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.1934, allocations: 439.3 kB / 444.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.1935, allocations: 43.81 kB / 444.5 MB, free: 9.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.1938, allocations: 111.5 kB / 444.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.1952, allocations: 475 kB / 445.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1953, allocations: 3.938 kB / 445.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1953, allocations: 0 / 445.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1953, allocations: 0 / 445.1 MB, free: 8.5 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.001785/0.1971, allocations: 0.6009 MB / 445.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.863e-05/0.1972, allocations: 12.03 kB / 445.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.1974, allocations: 24.66 kB / 445.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.1978, allocations: 224.1 kB / 446 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.198, allocations: 123.9 kB / 446.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.242e-05/0.1981, allocations: 20.38 kB / 446.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007636/0.1989, allocations: 343.5 kB / 446.4 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1989, allocations: 3.938 kB / 446.4 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.199, allocations: 12 kB / 446.4 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.199, allocations: 4 kB / 446.4 MB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.2001, allocations: 0.7351 MB / 447.2 MB, free: 6.277 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.00192/0.202, allocations: 1.312 MB / 448.5 MB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004739/0.2025, allocations: 163.7 kB / 448.7 MB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.2027, allocations: 89.36 kB / 448.7 MB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00369/0.2064, allocations: 2.813 MB / 451.6 MB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.2065, allocations: 34.56 kB / 451.6 MB, free: 1.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 3.166e-06/0.2065, allocations: 0 / 451.6 MB, free: 1.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004406/0.207, allocations: 117.7 kB / 451.7 MB, free: 1.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.207, allocations: 55.34 kB / 451.8 MB, free: 1.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.2074, allocations: 227.8 kB / 452 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.2074, allocations: 29.7 kB / 452 MB, free: 0.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.2076, allocations: 218.6 kB / 452.2 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.2077, allocations: 47.39 kB / 452.3 MB, free: 496 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.2078, allocations: 82.03 kB / 452.4 MB, free: 408 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.208, allocations: 326.8 kB / 452.7 MB, free: 72 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.2082, allocations: 44.84 kB / 452.7 MB, free: 28 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2821/0.4903, allocations: 341.9 kB / 453 MB, free: 52.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.4908, allocations: 442.1 kB / 453.5 MB, free: 51.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.4909, allocations: 3.438 kB / 453.5 MB, free: 51.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005913/0.4915, allocations: 387 kB / 453.9 MB, free: 51.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.4915, allocations: 9.422 kB / 453.9 MB, free: 51.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.4915, allocations: 11.38 kB / 453.9 MB, free: 51.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.939e-05/0.4916, allocations: 21.19 kB / 453.9 MB, free: 51.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.4918, allocations: 98.19 kB / 454 MB, free: 51.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/0.4919, allocations: 19.8 kB / 454 MB, free: 51.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.4921, allocations: 51.89 kB / 454.1 MB, free: 51.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.4922, allocations: 29.48 kB / 454.1 MB, free: 51.73 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.0001309/0.4923, allocations: 153.7 kB / 454.2 MB, free: 51.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.4924, allocations: 17.86 kB / 454.3 MB, free: 51.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.4926, allocations: 153.4 kB / 454.4 MB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.4927, allocations: 0 / 454.4 MB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4927, allocations: 0 / 454.4 MB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4927, allocations: 8.688 kB / 454.4 MB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.4931, allocations: 409.6 kB / 454.8 MB, free: 51.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4931, allocations: 3.203 kB / 454.8 MB, free: 51.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.4932, allocations: 15.94 kB / 454.8 MB, free: 51.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4932, allocations: 2.75 kB / 454.8 MB, free: 51.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.4932, allocations: 7.172 kB / 454.8 MB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4932, allocations: 2.812 kB / 454.9 MB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4932, allocations: 2.5 kB / 454.9 MB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.4934, allocations: 203.8 kB / 455.1 MB, free: 51.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.4934, allocations: 102.6 kB / 455.2 MB, free: 50.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.4935, allocations: 10.44 kB / 455.2 MB, free: 50.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.4936, allocations: 8.797 kB / 455.2 MB, free: 50.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.4937, allocations: 6.156 kB / 455.2 MB, free: 50.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.4937, allocations: 7.656 kB / 455.2 MB, free: 50.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.4938, allocations: 154.2 kB / 455.3 MB, free: 50.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4938, allocations: 0 / 455.3 MB, free: 50.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004876/0.4943, allocations: 92.48 kB / 455.4 MB, free: 50.89 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.0003384/0.4947, allocations: 160.8 kB / 455.6 MB, free: 50.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.4949, allocations: 169.5 kB / 455.8 MB, free: 50.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4949, allocations: 384 / 455.8 MB, free: 50.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.495, allocations: 29.8 kB / 455.8 MB, free: 50.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.4954, allocations: 39.48 kB / 455.8 MB, free: 50.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009149/0.4963, allocations: 0.6122 MB / 456.4 MB, free: 50.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.4965, allocations: 0.7304 MB / 457.2 MB, free: 49.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.4968, allocations: 52.61 kB / 457.2 MB, free: 49.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.4968, allocations: 30.31 kB / 457.2 MB, free: 49.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4968, allocations: 0 / 457.2 MB, free: 49.74 MB / 382.1 MB Notification: Performance of Templates: time 0.005905/0.5027, allocations: 3.014 MB / 460.3 MB, free: 49.46 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1)