Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 96.67 kB / 15.69 MB, free: 480 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.001507/0.001507, allocations: 176.8 kB / 16.57 MB, free: 6.391 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.835/1.835, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3648/0.3648, allocations: 43.55 MB / 314.5 MB, free: 8.773 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: Performance of FrontEnd - loaded program: time 0.0005018/0.0005021, allocations: 15.98 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1418, allocations: 58.85 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2868/0.4286, allocations: 34.49 MB / 477.3 MB, free: 30.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005559/0.4342, allocations: 4.134 MB / 481.5 MB, free: 27.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.4353, allocations: 25.66 kB / 481.5 MB, free: 27.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000861/0.4362, allocations: 274.9 kB / 481.8 MB, free: 27.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.4384, allocations: 0.6968 MB / 482.5 MB, free: 27.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.4405, allocations: 0.6858 MB / 483.2 MB, free: 26.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.442, allocations: 1.023 MB / 484.2 MB, free: 26.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006425/0.4427, allocations: 388.4 kB / 484.6 MB, free: 26.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1259/0.5686, allocations: 72.37 MB / 0.5439 GB, free: 8.824 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02154/0.5902, allocations: 13.31 MB / 0.5569 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.5905, allocations: 32 kB / 0.5569 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02945/0.6199, allocations: 18.48 MB / 0.575 GB, free: 8.988 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005548/0.6205, allocations: 215.4 kB / 0.5752 GB, free: 8.777 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003448/0.6209, allocations: 165.3 kB / 0.5753 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.622, allocations: 0.7598 MB / 0.5761 GB, free: 7.855 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.622, allocations: 0 / 0.5761 GB, free: 7.855 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.622, allocations: 0 / 0.5761 GB, free: 7.855 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.622, allocations: 0 / 0.5761 GB, free: 7.855 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002049/0.6241, allocations: 0.9268 MB / 0.577 GB, free: 6.883 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.6241, allocations: 12.03 kB / 0.577 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.6243, allocations: 94.52 kB / 0.5771 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.6246, allocations: 83.66 kB / 0.5771 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008866/0.6255, allocations: 0.5004 MB / 0.5776 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.6256, allocations: 96.41 kB / 0.5777 GB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.198e-05/0.6257, allocations: 51.98 kB / 0.5778 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.6269, allocations: 0.8143 MB / 0.5786 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.6269, allocations: 0 / 0.5786 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.764e-05/0.627, allocations: 21.31 kB / 0.5786 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.752e-05/0.627, allocations: 40.97 kB / 0.5786 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.6281, allocations: 0.6478 MB / 0.5793 GB, free: 4.391 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.004882/0.633, allocations: 4.243 MB / 0.5834 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008032/0.6338, allocations: 407.9 kB / 0.5838 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004646/0.6343, allocations: 0.5029 MB / 0.5843 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.6343, allocations: 42.88 kB / 0.5843 GB, free: 14.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 4.859e-06/0.6343, allocations: 0 / 0.5843 GB, free: 14.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003342/0.6377, allocations: 1.531 MB / 0.5858 GB, free: 13.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.6378, allocations: 136.5 kB / 0.586 GB, free: 13.05 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006326/0.6384, allocations: 0.5692 MB / 0.5865 GB, free: 12.47 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.6384, allocations: 29.7 kB / 0.5865 GB, free: 12.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.6387, allocations: 355 kB / 0.5869 GB, free: 12.08 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.6388, allocations: 169.7 kB / 0.587 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.6389, allocations: 16 kB / 0.5871 GB, free: 11.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.6391, allocations: 374.7 kB / 0.5874 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.6395, allocations: 221.9 kB / 0.5876 GB, free: 11.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/0.6401, allocations: 0.5162 MB / 0.5881 GB, free: 10.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/0.6406, allocations: 312.6 kB / 0.5884 GB, free: 10.35 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.6406, allocations: 4 kB / 0.5884 GB, free: 10.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001835/0.6425, allocations: 0.9689 MB / 0.5894 GB, free: 9.367 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.6425, allocations: 8 kB / 0.5894 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.6425, allocations: 8 kB / 0.5894 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.6436, allocations: 270.9 kB / 0.5896 GB, free: 9.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.6441, allocations: 130.9 kB / 0.5898 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008873/0.6449, allocations: 0.8606 MB / 0.5906 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005359/0.6455, allocations: 39.97 kB / 0.5907 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.6456, allocations: 40.06 kB / 0.5907 GB, free: 7.996 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.000358/0.6459, allocations: 253.5 kB / 0.5909 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.6461, allocations: 67.16 kB / 0.591 GB, free: 7.672 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.6474, allocations: 0.7157 MB / 0.5917 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.6474, allocations: 4 kB / 0.5917 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.6474, allocations: 0 / 0.5917 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.6474, allocations: 3.984 kB / 0.5917 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.6494, allocations: 1.419 MB / 0.5931 GB, free: 5.438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.6494, allocations: 4 kB / 0.5931 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009578/0.6504, allocations: 192 kB / 0.5933 GB, free: 5.246 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002861/0.6507, allocations: 60.78 kB / 0.5933 GB, free: 5.184 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.6507, allocations: 19.94 kB / 0.5934 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.6529, allocations: 2.798 MB / 0.5961 GB, free: 2.098 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.6529, allocations: 4.031 kB / 0.5961 GB, free: 2.094 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.6544, allocations: 1.074 MB / 0.5971 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.6547, allocations: 208.2 kB / 0.5973 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.61e-05/0.6548, allocations: 19.12 kB / 0.5974 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.6552, allocations: 27.86 kB / 0.5974 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.6553, allocations: 47.89 kB / 0.5974 GB, free: 0.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.6554, allocations: 16 kB / 0.5974 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004474/0.6558, allocations: 398.8 kB / 0.5978 GB, free: 228 kB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6558, allocations: 0 / 0.5978 GB, free: 228 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.000775/0.6566, allocations: 200 kB / 0.598 GB, free: 28 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002198/0.6588, allocations: 2.238 MB / 0.6002 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.66, allocations: 0.597 MB / 0.6008 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.66, allocations: 0 / 0.6008 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.6611, allocations: 494.2 kB / 0.6013 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.6627, allocations: 317.6 kB / 0.6016 GB, free: 12.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008775/0.6714, allocations: 10.49 MB / 0.6118 GB, free: 1.574 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/0.672, allocations: 0.9542 MB / 0.6127 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008804/0.6729, allocations: 203.3 kB / 0.6129 GB, free: 408 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.6732, allocations: 235.4 kB / 0.6132 GB, free: 172 kB / 478.1 MB Notification: Performance of SimCode: time 1.143e-06/0.6733, allocations: 0 / 0.6132 GB, free: 172 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2316/0.9048, allocations: 19.94 MB / 0.6326 GB, free: 153.4 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/0.905, allocations: 289.7 kB / 0.6329 GB, free: 153.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/3.123, allocations: 0 / 0.6329 GB, free: 153.1 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat