Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001221/0.001221, allocations: 119 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 204.7 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2332/0.2332, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3741, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03468/0.4088, allocations: 26.92 MB / 0.5569 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003641/0.4125, allocations: 2.963 MB / 0.5598 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.4127, allocations: 4 kB / 0.5598 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.413, allocations: 47.61 kB / 0.5599 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.4152, allocations: 0.7266 MB / 0.5606 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.4156, allocations: 134.4 kB / 0.5607 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005671/0.4162, allocations: 374.1 kB / 0.5611 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.282e-05/0.4163, allocations: 13.69 kB / 0.5611 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04252/0.4588, allocations: 15.49 MB / 0.5762 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004564/0.4593, allocations: 147.5 kB / 0.5763 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.4593, allocations: 12 kB / 0.5764 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008717/0.4681, allocations: 3.443 MB / 0.5797 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.78e-05/0.4682, allocations: 43.77 kB / 0.5798 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.4683, allocations: 111.5 kB / 0.5799 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009229/0.4693, allocations: 462.6 kB / 0.5803 GB, free: 14.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4693, allocations: 0 / 0.5803 GB, free: 14.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4693, allocations: 4 kB / 0.5803 GB, free: 14.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.4693, allocations: 0 / 0.5803 GB, free: 14.59 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.001134/0.4705, allocations: 0.6116 MB / 0.5809 GB, free: 13.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4705, allocations: 8.031 kB / 0.5809 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.627e-05/0.4706, allocations: 58.73 kB / 0.581 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.4707, allocations: 28.8 kB / 0.581 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.4711, allocations: 228.1 kB / 0.5812 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.4712, allocations: 119.9 kB / 0.5813 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.4713, allocations: 27.94 kB / 0.5814 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.4718, allocations: 327.6 kB / 0.5817 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.4718, allocations: 0 / 0.5817 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.4719, allocations: 8 kB / 0.5817 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.4719, allocations: 7.984 kB / 0.5817 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008681/0.4728, allocations: 0.739 MB / 0.5824 GB, free: 12.3 MB / 446.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.001475/0.4742, allocations: 1.308 MB / 0.5837 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.4746, allocations: 163.7 kB / 0.5838 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.4748, allocations: 85.42 kB / 0.5839 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0028/0.4776, allocations: 2.814 MB / 0.5867 GB, free: 7.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.4777, allocations: 38.56 kB / 0.5867 GB, free: 7.223 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.4777, allocations: 0 / 0.5867 GB, free: 7.223 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003128/0.478, allocations: 117.4 kB / 0.5868 GB, free: 7.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.478, allocations: 55.41 kB / 0.5869 GB, free: 7.035 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.4783, allocations: 223.5 kB / 0.5871 GB, free: 6.805 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.4783, allocations: 25.7 kB / 0.5871 GB, free: 6.773 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.4784, allocations: 231.3 kB / 0.5873 GB, free: 6.543 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.4785, allocations: 47.69 kB / 0.5874 GB, free: 6.496 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.4786, allocations: 90.02 kB / 0.5875 GB, free: 6.402 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4788, allocations: 326.8 kB / 0.5878 GB, free: 6.074 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.022e-05/0.4789, allocations: 48.84 kB / 0.5878 GB, free: 6.027 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.4792, allocations: 351.2 kB / 0.5882 GB, free: 5.539 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.4797, allocations: 440.6 kB / 0.5886 GB, free: 4.961 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.4797, allocations: 4 kB / 0.5886 GB, free: 4.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005719/0.4803, allocations: 377.8 kB / 0.5889 GB, free: 4.582 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.4803, allocations: 12 kB / 0.589 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.4804, allocations: 16.06 kB / 0.589 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.4804, allocations: 19.94 kB / 0.589 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.4807, allocations: 95.83 kB / 0.5891 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/0.4807, allocations: 23.92 kB / 0.5891 GB, free: 4.418 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.481, allocations: 59.56 kB / 0.5892 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.481, allocations: 24 kB / 0.5892 GB, free: 4.336 MB / 446.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.0001386/0.4812, allocations: 149.6 kB / 0.5893 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.4812, allocations: 23.86 kB / 0.5893 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.4815, allocations: 152.8 kB / 0.5895 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.4815, allocations: 0 / 0.5895 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4815, allocations: 0 / 0.5895 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4815, allocations: 0 / 0.5895 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.482, allocations: 416.9 kB / 0.5899 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4821, allocations: 0 / 0.5899 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.4821, allocations: 12 kB / 0.5899 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.4821, allocations: 0 / 0.5899 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.4821, allocations: 8 kB / 0.5899 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4822, allocations: 3.938 kB / 0.5899 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4822, allocations: 0 / 0.5899 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.4824, allocations: 222 kB / 0.5901 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.4825, allocations: 93 kB / 0.5902 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.4825, allocations: 7.938 kB / 0.5902 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.4827, allocations: 4 kB / 0.5902 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.4827, allocations: 15.98 kB / 0.5902 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.4827, allocations: 8.109 kB / 0.5902 GB, free: 3.113 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.4829, allocations: 156.5 kB / 0.5904 GB, free: 2.961 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4829, allocations: 0 / 0.5904 GB, free: 2.961 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004956/0.4834, allocations: 91.83 kB / 0.5905 GB, free: 2.871 MB / 446.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.0006932/0.4841, allocations: 0.7928 MB / 0.5913 GB, free: 2.043 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003067/0.4844, allocations: 177.5 kB / 0.5914 GB, free: 1.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4844, allocations: 0 / 0.5914 GB, free: 1.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.4845, allocations: 27.92 kB / 0.5915 GB, free: 1.844 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.4849, allocations: 41.02 kB / 0.5915 GB, free: 1.809 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.4881, allocations: 2.821 MB / 0.5943 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.4885, allocations: 0.7206 MB / 0.595 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.4887, allocations: 59.03 kB / 0.595 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.54e-05/0.4888, allocations: 59.42 kB / 0.5951 GB, free: 13.73 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4888, allocations: 4 kB / 0.5951 GB, free: 13.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.5164, allocations: 5.241 MB / 0.6002 GB, free: 8.629 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.591, allocations: 12.44 kB / 0.6002 GB, free: 8.625 MB / 462.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1)