Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_0_0_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.00112/0.00112, allocations: 94.33 kB / 16.98 MB, free: 5.938 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.001124/0.001124, allocations: 182.1 kB / 17.87 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.2 MB / 241.8 MB, free: 392 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.192/0.192, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004145, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.146, allocations: 61.93 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.03983/0.1859, allocations: 34.46 MB / 0.4942 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006855/0.1928, allocations: 4.151 MB / 0.4982 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1938, allocations: 27.75 kB / 0.4982 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.1949, allocations: 266.6 kB / 0.4985 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.1971, allocations: 0.7082 MB / 0.4992 GB, free: 5.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.1993, allocations: 0.6872 MB / 0.4999 GB, free: 5.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001925/0.2013, allocations: 1.024 MB / 0.5009 GB, free: 4.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007454/0.202, allocations: 381.4 kB / 0.5012 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3422/0.5443, allocations: 72.56 MB / 0.5721 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02167/0.566, allocations: 13.31 MB / 0.5851 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.5662, allocations: 32 kB / 0.5851 GB, free: 5.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02867/0.5949, allocations: 18.48 MB / 0.6032 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004902/0.5954, allocations: 209.7 kB / 0.6034 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.5957, allocations: 164.3 kB / 0.6035 GB, free: 4.398 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009258/0.5966, allocations: 0.7573 MB / 0.6043 GB, free: 3.766 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5967, allocations: 4 kB / 0.6043 GB, free: 3.762 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.5967, allocations: 4 kB / 0.6043 GB, free: 3.758 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.5967, allocations: 0 / 0.6043 GB, free: 3.758 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.001836/0.5985, allocations: 0.9219 MB / 0.6052 GB, free: 2.852 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.5986, allocations: 8.031 kB / 0.6052 GB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.5987, allocations: 102.1 kB / 0.6053 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003062/0.599, allocations: 91.14 kB / 0.6054 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007601/0.5998, allocations: 491 kB / 0.6058 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.5999, allocations: 111.3 kB / 0.6059 GB, free: 2.156 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.78e-05/0.6, allocations: 52.34 kB / 0.606 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.6011, allocations: 0.816 MB / 0.6068 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.6011, allocations: 7.375 kB / 0.6068 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.739e-05/0.6012, allocations: 25.94 kB / 0.6068 GB, free: 1.465 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.615e-05/0.6013, allocations: 35.73 kB / 0.6068 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000924/0.6022, allocations: 0.638 MB / 0.6075 GB, free: 1.016 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.004475/0.6067, allocations: 4.243 MB / 0.6116 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007858/0.6075, allocations: 412.9 kB / 0.612 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004738/0.608, allocations: 0.4998 MB / 0.6125 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.608, allocations: 36.27 kB / 0.6125 GB, free: 12.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 1.734e-06/0.608, allocations: 4 kB / 0.6125 GB, free: 12.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.002917/0.6109, allocations: 1.523 MB / 0.614 GB, free: 11.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.611, allocations: 136.5 kB / 0.6141 GB, free: 10.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006266/0.6117, allocations: 0.5626 MB / 0.6147 GB, free: 10.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.6117, allocations: 37.7 kB / 0.6147 GB, free: 10.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.6119, allocations: 353.6 kB / 0.6151 GB, free: 10.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.6121, allocations: 163.8 kB / 0.6152 GB, free: 10 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.6121, allocations: 14.56 kB / 0.6152 GB, free: 10 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.6123, allocations: 378.4 kB / 0.6156 GB, free: 9.648 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.6126, allocations: 219.6 kB / 0.6158 GB, free: 9.508 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005334/0.6131, allocations: 0.5183 MB / 0.6163 GB, free: 8.953 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.6136, allocations: 313.5 kB / 0.6166 GB, free: 8.773 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6136, allocations: 0 / 0.6166 GB, free: 8.773 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001779/0.6154, allocations: 0.9627 MB / 0.6175 GB, free: 8.102 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.6154, allocations: 13 kB / 0.6176 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.6154, allocations: 8 kB / 0.6176 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.6165, allocations: 271.4 kB / 0.6178 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.6169, allocations: 124.9 kB / 0.6179 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008746/0.6178, allocations: 0.8637 MB / 0.6188 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.6183, allocations: 45.05 kB / 0.6188 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.6183, allocations: 37.92 kB / 0.6189 GB, free: 6.93 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.0003302/0.6187, allocations: 248.7 kB / 0.6191 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.6188, allocations: 79.11 kB / 0.6192 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.6201, allocations: 0.7087 MB / 0.6199 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.6201, allocations: 12 kB / 0.6199 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6201, allocations: 0 / 0.6199 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.6201, allocations: 3.312 kB / 0.6199 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.622, allocations: 1.41 MB / 0.6213 GB, free: 5.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.622, allocations: 4 kB / 0.6213 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009335/0.623, allocations: 194.3 kB / 0.6215 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/0.6233, allocations: 71.61 kB / 0.6215 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.6233, allocations: 7.25 kB / 0.6215 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/0.6254, allocations: 2.801 MB / 0.6243 GB, free: 1.969 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6254, allocations: 0 / 0.6243 GB, free: 1.969 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.6268, allocations: 1.082 MB / 0.6253 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.6271, allocations: 206.9 kB / 0.6255 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.815e-05/0.6272, allocations: 19.8 kB / 0.6255 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.6276, allocations: 30.62 kB / 0.6256 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.6276, allocations: 34.91 kB / 0.6256 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.6277, allocations: 23.48 kB / 0.6256 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003999/0.6281, allocations: 390.2 kB / 0.626 GB, free: 0.543 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.6281, allocations: 0 / 0.626 GB, free: 0.543 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006867/0.6288, allocations: 212.4 kB / 0.6262 GB, free: 368 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.002028/0.6308, allocations: 2.229 MB / 0.6284 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009786/0.6318, allocations: 0.5938 MB / 0.629 GB, free: 13.99 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6318, allocations: 4 kB / 0.629 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.6329, allocations: 493.2 kB / 0.6294 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.6342, allocations: 325.2 kB / 0.6297 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007612/0.6419, allocations: 10.49 MB / 0.64 GB, free: 3.273 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.6424, allocations: 0.9503 MB / 0.6409 GB, free: 2.297 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000665/0.6431, allocations: 200 kB / 0.6411 GB, free: 2.113 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.6434, allocations: 235.4 kB / 0.6413 GB, free: 1.883 MB / 478.1 MB Notification: Performance of SimCode: time 5.72e-07/0.6434, allocations: 0 / 0.6413 GB, free: 1.883 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.6781, allocations: 19.96 MB / 0.6608 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.6783, allocations: 296.8 kB / 0.6611 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.991, allocations: 0 / 0.6611 GB, free: 14.03 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat