Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.002264/0.002264, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 87.8 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.333/0.333, allocations: 43.49 MB / 353.6 MB, free: 2.246 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.587e-05/2.592e-05, allocations: 224 / 418.3 MB, free: 40.91 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4177, allocations: 58.85 MB / 477.2 MB, free: 5.145 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.854/10.27, allocations: 3.119 GB / 3.585 GB, free: 40.39 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/10.27, allocations: 94.56 kB / 3.585 GB, free: 40.34 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 5.32/15.59, allocations: 1.125 GB / 4.71 GB, free: 77.04 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.583e-06/15.59, allocations: 0 / 4.71 GB, free: 77.04 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 6.651e-05/15.59, allocations: 17.09 kB / 4.71 GB, free: 77.02 MB / 0.5108 GB 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.006745/15.6, allocations: 1.579 MB / 4.712 GB, free: 75.54 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/15.6, allocations: 12.03 kB / 4.712 GB, free: 75.53 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005306/15.6, allocations: 87 kB / 4.712 GB, free: 75.45 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/15.6, allocations: 0.538 MB / 4.712 GB, free: 74.95 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/15.6, allocations: 84.72 kB / 4.712 GB, free: 74.86 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/15.6, allocations: 28 kB / 4.712 GB, free: 74.83 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00132/15.6, allocations: 0.5432 MB / 4.713 GB, free: 74.34 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/15.6, allocations: 0.7415 MB / 4.714 GB, free: 73.63 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/15.6, allocations: 0 / 4.714 GB, free: 73.63 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.29e-05/15.6, allocations: 4 kB / 4.714 GB, free: 73.62 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.963e-05/15.6, allocations: 46.02 kB / 4.714 GB, free: 73.59 MB / 0.5108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006157/15.61, allocations: 3.987 MB / 4.718 GB, free: 69.79 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008362/15.61, allocations: 308.9 kB / 4.718 GB, free: 69.51 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/15.61, allocations: 160.5 kB / 4.718 GB, free: 69.36 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003982/15.61, allocations: 355.9 kB / 4.718 GB, free: 68.95 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/15.61, allocations: 38.84 kB / 4.718 GB, free: 68.9 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=34): time 3.597e-06/15.61, allocations: 0.8438 kB / 4.718 GB, free: 68.9 MB / 0.5108 GB Notification: Performance of matching and sorting (n=39): time 0.004568/15.62, allocations: 1.285 MB / 4.72 GB, free: 67.73 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/15.62, allocations: 132.5 kB / 4.72 GB, free: 67.57 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/15.62, allocations: 452.5 kB / 4.72 GB, free: 67.16 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 6.198e-05/15.62, allocations: 25.7 kB / 4.72 GB, free: 67.13 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/15.62, allocations: 416 kB / 4.721 GB, free: 66.74 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/15.62, allocations: 139.6 kB / 4.721 GB, free: 66.62 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/15.62, allocations: 8 kB / 4.721 GB, free: 66.61 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 7.885e-05/15.62, allocations: 334.1 kB / 4.721 GB, free: 66.28 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/15.62, allocations: 209.4 kB / 4.721 GB, free: 66.09 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/15.62, allocations: 488 kB / 4.722 GB, free: 65.5 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/15.62, allocations: 332.2 kB / 4.722 GB, free: 65.24 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/15.62, allocations: 4 kB / 4.722 GB, free: 65.23 MB / 0.5108 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002766/15.62, allocations: 0.8589 MB / 4.723 GB, free: 64.48 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/15.62, allocations: 8 kB / 4.723 GB, free: 64.48 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/15.62, allocations: 11.61 kB / 4.723 GB, free: 64.47 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/15.62, allocations: 235.6 kB / 4.723 GB, free: 64.29 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007702/15.63, allocations: 123.9 kB / 4.723 GB, free: 64.18 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/15.63, allocations: 0.8675 MB / 4.724 GB, free: 63.34 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009935/15.63, allocations: 43.31 kB / 4.724 GB, free: 63.3 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.239e-05/15.63, allocations: 32 kB / 4.724 GB, free: 63.27 MB / 0.5108 GB 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 () * 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.0001996/15.63, allocations: 128.7 kB / 4.724 GB, free: 63.14 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001515/15.63, allocations: 485.1 kB / 4.725 GB, free: 62.71 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/15.63, allocations: 66.58 kB / 4.725 GB, free: 62.65 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/15.63, allocations: 0.5917 MB / 4.725 GB, free: 62.16 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/15.63, allocations: 8 kB / 4.726 GB, free: 62.15 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/15.63, allocations: 4 kB / 4.726 GB, free: 62.14 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.966e-06/15.63, allocations: 0 / 4.726 GB, free: 62.14 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/15.63, allocations: 1.483 MB / 4.727 GB, free: 60.77 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/15.63, allocations: 0 / 4.727 GB, free: 60.77 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/15.64, allocations: 198.4 kB / 4.727 GB, free: 60.62 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000345/15.64, allocations: 56.55 kB / 4.727 GB, free: 60.58 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/15.64, allocations: 10.62 kB / 4.727 GB, free: 60.57 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/15.64, allocations: 2.674 MB / 4.73 GB, free: 57.75 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/15.64, allocations: 4.031 kB / 4.73 GB, free: 57.75 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/15.64, allocations: 0.9592 MB / 4.731 GB, free: 56.8 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004871/15.64, allocations: 191.3 kB / 4.731 GB, free: 56.61 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/15.64, allocations: 7.844 kB / 4.731 GB, free: 56.61 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007254/15.64, allocations: 19.73 kB / 4.731 GB, free: 56.59 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/15.64, allocations: 30.47 kB / 4.731 GB, free: 56.57 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.426e-05/15.64, allocations: 27.66 kB / 4.731 GB, free: 56.55 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0005327/15.64, allocations: 332.3 kB / 4.731 GB, free: 56.26 MB / 0.5108 GB Notification: Performance of sort global known variables: time 5.21e-07/15.64, allocations: 0 / 4.731 GB, free: 56.26 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.001407/15.64, allocations: 215.9 kB / 4.732 GB, free: 56.05 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * 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.003114/15.65, allocations: 2.211 MB / 4.734 GB, free: 53.95 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.00148/15.65, allocations: 0.5227 MB / 4.734 GB, free: 53.47 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/15.65, allocations: 0.8125 kB / 4.734 GB, free: 53.47 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/15.65, allocations: 423.7 kB / 4.735 GB, free: 53.09 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/15.65, allocations: 269.8 kB / 4.735 GB, free: 52.89 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/15.66, allocations: 1.158 MB / 4.736 GB, free: 51.84 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/15.66, allocations: 0.9481 MB / 4.737 GB, free: 50.96 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/15.66, allocations: 234.5 kB / 4.737 GB, free: 50.75 MB / 0.5108 GB Notification: Performance of SimCode: time 9.82e-07/15.66, allocations: 0 / 4.737 GB, free: 50.75 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.348/19.01, allocations: 18.02 MB / 4.755 GB, free: 37.16 MB / 0.5108 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat