Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",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.001698/0.001698, allocations: 177.6 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 86.3 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2503/0.2503, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.354e-05/2.342e-05, allocations: 0 / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1393, allocations: 58.85 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.176/1.315, allocations: 419.7 MB / 0.8759 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/1.316, allocations: 97.66 kB / 0.876 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6393/1.955, allocations: 118.3 MB / 0.9915 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.874e-06/1.955, allocations: 0 / 0.9915 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.775e-05/1.955, allocations: 20 kB / 0.9915 GB, free: 110.6 MB / 0.4948 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.002136/1.957, allocations: 0.988 MB / 0.9925 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.958, allocations: 8.031 kB / 0.9925 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000331/1.958, allocations: 91.31 kB / 0.9926 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008828/1.959, allocations: 0.531 MB / 0.9931 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.71e-05/1.959, allocations: 92.64 kB / 0.9932 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.302e-05/1.959, allocations: 28 kB / 0.9932 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008029/1.96, allocations: 0.5492 MB / 0.9938 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009034/1.961, allocations: 0.7303 MB / 0.9945 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/1.961, allocations: 3.938 kB / 0.9945 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/1.961, allocations: 8 kB / 0.9945 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-05/1.961, allocations: 37.3 kB / 0.9945 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003791/1.965, allocations: 3.985 MB / 0.9984 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/1.965, allocations: 311.3 kB / 0.9987 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/1.965, allocations: 165.4 kB / 0.9989 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003296/1.966, allocations: 356.5 kB / 0.9992 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/1.966, allocations: 38.84 kB / 0.9993 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.946e-06/1.966, allocations: 4 kB / 0.9993 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.002912/1.969, allocations: 1.279 MB / 1.001 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/1.969, allocations: 132.5 kB / 1.001 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/1.969, allocations: 450 kB / 1.001 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/1.969, allocations: 25.7 kB / 1.001 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/1.969, allocations: 375.1 kB / 1.001 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.48e-05/1.97, allocations: 142 kB / 1.002 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/1.97, allocations: 0 / 1.002 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.97, allocations: 370.7 kB / 1.002 GB, free: 99.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/1.97, allocations: 197.5 kB / 1.002 GB, free: 99.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/1.97, allocations: 499.2 kB / 1.003 GB, free: 98.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005792/1.971, allocations: 336.4 kB / 1.003 GB, free: 98.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.971, allocations: 0 / 1.003 GB, free: 98.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001633/1.973, allocations: 0.8822 MB / 1.004 GB, free: 97.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.973, allocations: 8 kB / 1.004 GB, free: 97.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/1.973, allocations: 19.89 kB / 1.004 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007618/1.973, allocations: 225.5 kB / 1.004 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/1.974, allocations: 123.8 kB / 1.004 GB, free: 96.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007692/1.975, allocations: 0.8707 MB / 1.005 GB, free: 96.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/1.975, allocations: 39.88 kB / 1.005 GB, free: 95.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/1.975, allocations: 43.98 kB / 1.005 GB, free: 95.95 MB / 0.4948 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.000216/1.975, allocations: 140.4 kB / 1.005 GB, free: 95.8 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008858/1.976, allocations: 473.5 kB / 1.006 GB, free: 95.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.183e-05/1.976, allocations: 63.33 kB / 1.006 GB, free: 95.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/1.978, allocations: 0.584 MB / 1.006 GB, free: 94.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/1.978, allocations: 4 kB / 1.006 GB, free: 94.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.978, allocations: 0 / 1.006 GB, free: 94.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/1.978, allocations: 3.984 kB / 1.006 GB, free: 94.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/1.98, allocations: 1.491 MB / 1.008 GB, free: 93.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.98, allocations: 4 kB / 1.008 GB, free: 93.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008839/1.981, allocations: 179.8 kB / 1.008 GB, free: 92.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002282/1.981, allocations: 60.98 kB / 1.008 GB, free: 92.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/1.981, allocations: 7.984 kB / 1.008 GB, free: 92.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/1.983, allocations: 2.686 MB / 1.011 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/1.983, allocations: 11.95 kB / 1.011 GB, free: 89.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/1.984, allocations: 0.9456 MB / 1.012 GB, free: 88.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/1.984, allocations: 192.3 kB / 1.012 GB, free: 88.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/1.984, allocations: 7.938 kB / 1.012 GB, free: 88.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/1.985, allocations: 20.05 kB / 1.012 GB, free: 88.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/1.985, allocations: 31.95 kB / 1.012 GB, free: 88.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/1.985, allocations: 19.98 kB / 1.012 GB, free: 88.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003504/1.985, allocations: 330.9 kB / 1.012 GB, free: 88.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.91e-07/1.985, allocations: 4 kB / 1.012 GB, free: 88.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009789/1.986, allocations: 195.9 kB / 1.012 GB, free: 88.07 MB / 0.4948 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.002089/1.988, allocations: 2.07 MB / 1.014 GB, free: 85.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001084/1.99, allocations: 0.5312 MB / 1.015 GB, free: 85.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.99, allocations: 1.938 kB / 1.015 GB, free: 85.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009427/1.991, allocations: 426.8 kB / 1.015 GB, free: 84.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/1.992, allocations: 274.2 kB / 1.016 GB, free: 84.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/1.994, allocations: 1.108 MB / 1.017 GB, free: 83.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/1.994, allocations: 0.9497 MB / 1.018 GB, free: 82.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006509/1.995, allocations: 185.3 kB / 1.018 GB, free: 82.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/1.995, allocations: 235.3 kB / 1.018 GB, free: 82.15 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/1.995, allocations: 0 / 1.018 GB, free: 82.15 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04771/2.043, allocations: 17.47 MB / 1.035 GB, free: 64.72 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/2.043, allocations: 207.6 kB / 1.035 GB, free: 64.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/4.688, allocations: 0 / 1.035 GB, free: 64.43 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat