Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.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.CO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002237/0.002238, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.684/1.684, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3599/0.3599, allocations: 39.93 MB / 309.7 MB, free: 9.23 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.001641/0.001641, allocations: 67.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1507, allocations: 56.89 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4933/0.6441, allocations: 151.4 MB / 0.5721 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006132/0.6502, allocations: 4.705 MB / 0.5767 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.6505, allocations: 5.219 kB / 0.5767 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.6508, allocations: 59.59 kB / 0.5768 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005002/0.6558, allocations: 1.54 MB / 0.5783 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.6562, allocations: 148.8 kB / 0.5784 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006788/0.6569, allocations: 402.1 kB / 0.5788 GB, free: 5.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.657, allocations: 13.67 kB / 0.5788 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.6573, allocations: 159.4 kB / 0.579 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.6577, allocations: 167.5 kB / 0.5791 GB, free: 4.738 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.6577, allocations: 8 kB / 0.5791 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.6611, allocations: 1.213 MB / 0.5803 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.6612, allocations: 47.81 kB / 0.5804 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.6614, allocations: 107.5 kB / 0.5805 GB, free: 3.363 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.6639, allocations: 0.9667 MB / 0.5814 GB, free: 2.395 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.6639, allocations: 3.938 kB / 0.5814 GB, free: 2.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6639, allocations: 0 / 0.5814 GB, free: 2.391 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.6639, allocations: 0 / 0.5814 GB, free: 2.391 MB / 446.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.001984/0.6659, allocations: 0.7254 MB / 0.5821 GB, free: 1.621 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.238e-05/0.666, allocations: 11.89 kB / 0.5821 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007723/0.6737, allocations: 0.5991 MB / 0.5827 GB, free: 1.016 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006394/0.6744, allocations: 264.3 kB / 0.583 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.6746, allocations: 131.3 kB / 0.5831 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-05/0.6747, allocations: 23.98 kB / 0.5831 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.6761, allocations: 0.5634 MB / 0.5837 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.6761, allocations: 0 / 0.5837 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/0.6762, allocations: 12 kB / 0.5837 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.252e-05/0.6762, allocations: 15.94 kB / 0.5837 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.6778, allocations: 0.6221 MB / 0.5843 GB, free: 15.3 MB / 462.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.002381/0.6802, allocations: 1.639 MB / 0.5859 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.6806, allocations: 166.2 kB / 0.5861 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.6808, allocations: 80.81 kB / 0.5862 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002458/0.6832, allocations: 2.075 MB / 0.5882 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.6833, allocations: 38.56 kB / 0.5882 GB, free: 10.81 MB / 462.1 MB Notification: Performance of pre-optimization done (n=20): time 2.274e-06/0.6833, allocations: 0 / 0.5882 GB, free: 10.81 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=20): time 0.001152/0.6845, allocations: 334 kB / 0.5885 GB, free: 10.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.6845, allocations: 51.41 kB / 0.5886 GB, free: 10.42 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.6847, allocations: 186 kB / 0.5888 GB, free: 10.22 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.6848, allocations: 29.7 kB / 0.5888 GB, free: 10.19 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.6849, allocations: 175.4 kB / 0.589 GB, free: 10.01 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/0.685, allocations: 78.92 kB / 0.589 GB, free: 9.934 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.6851, allocations: 85.97 kB / 0.5891 GB, free: 9.844 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.6854, allocations: 330.8 kB / 0.5894 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.6855, allocations: 68.7 kB / 0.5895 GB, free: 9.445 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.6859, allocations: 259.8 kB / 0.5897 GB, free: 9.098 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.6864, allocations: 371.8 kB / 0.5901 GB, free: 8.641 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6865, allocations: 0 / 0.5901 GB, free: 8.641 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006601/0.6871, allocations: 374.4 kB / 0.5905 GB, free: 8.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.6872, allocations: 11.94 kB / 0.5905 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.6872, allocations: 8 kB / 0.5905 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.628e-05/0.6872, allocations: 8 kB / 0.5905 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.6877, allocations: 127.8 kB / 0.5906 GB, free: 8.117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005193/0.6882, allocations: 0.6015 MB / 0.5912 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.6885, allocations: 43.59 kB / 0.5912 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/0.6886, allocations: 42.31 kB / 0.5913 GB, free: 7.41 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001768/0.6887, allocations: 145.6 kB / 0.5914 GB, free: 7.258 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.6888, allocations: 19.81 kB / 0.5914 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008784/0.6897, allocations: 321.7 kB / 0.5917 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.6897, allocations: 3.938 kB / 0.5917 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6897, allocations: 4 kB / 0.5917 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6898, allocations: 7.984 kB / 0.5918 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008402/0.6906, allocations: 0.5179 MB / 0.5923 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/0.6907, allocations: 4 kB / 0.5923 GB, free: 6.301 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.6909, allocations: 55.91 kB / 0.5923 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.6909, allocations: 4 kB / 0.5923 GB, free: 6.242 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.6909, allocations: 12.14 kB / 0.5923 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003996/0.6913, allocations: 0.5976 MB / 0.5929 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6914, allocations: 3.938 kB / 0.5929 GB, free: 5.605 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.6918, allocations: 279.6 kB / 0.5932 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.6919, allocations: 108.9 kB / 0.5933 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.6919, allocations: 11.94 kB / 0.5933 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.6922, allocations: 11.98 kB / 0.5933 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.6923, allocations: 19.92 kB / 0.5933 GB, free: 5.133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.6923, allocations: 19.98 kB / 0.5933 GB, free: 5.113 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.6924, allocations: 141.2 kB / 0.5935 GB, free: 4.977 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6924, allocations: 0 / 0.5935 GB, free: 4.977 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008976/0.6934, allocations: 196 kB / 0.5937 GB, free: 4.785 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001024/0.6944, allocations: 357.2 kB / 0.594 GB, free: 4.441 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005383/0.6949, allocations: 232.4 kB / 0.5942 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6949, allocations: 0 / 0.5942 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.6952, allocations: 83.83 kB / 0.5943 GB, free: 4.133 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.6957, allocations: 74.08 kB / 0.5944 GB, free: 4.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.6991, allocations: 1.963 MB / 0.5963 GB, free: 2.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.6996, allocations: 0.729 MB / 0.597 GB, free: 1.316 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005899/0.7002, allocations: 102.9 kB / 0.5971 GB, free: 1.219 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.7004, allocations: 43.42 kB / 0.5972 GB, free: 1.176 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.7004, allocations: 0 / 0.5972 GB, free: 1.176 MB / 462.1 MB Notification: Performance of Templates: time 0.01252/0.7129, allocations: 6.574 MB / 0.6036 GB, free: 10.63 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1)