Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json 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/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001445/0.001445, allocations: 198.7 kB / 17.08 MB, free: 5.066 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 227.2 MB / 245 MB, free: 5.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 100.1 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4628/0.4628, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003087, allocations: 4 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4411, allocations: 63.26 MB / 0.5193 GB, free: 37.67 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.847/8.288, allocations: 3.128 GB / 3.647 GB, free: 125.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/8.288, allocations: 103.3 kB / 3.647 GB, free: 125.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.465/11.75, allocations: 1.145 GB / 4.792 GB, free: 81.04 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.923e-06/11.75, allocations: 0 / 4.792 GB, free: 81.04 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001025/11.75, allocations: 26.81 kB / 4.792 GB, free: 81.03 MB / 0.5417 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.007325/11.76, allocations: 1.66 MB / 4.793 GB, free: 80.06 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/11.76, allocations: 11.34 kB / 4.793 GB, free: 80.06 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003299/11.76, allocations: 93.22 kB / 4.793 GB, free: 79.99 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005001/11.76, allocations: 86.38 kB / 4.794 GB, free: 79.96 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/11.76, allocations: 0.5497 MB / 4.794 GB, free: 79.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/11.76, allocations: 103.1 kB / 4.794 GB, free: 79.52 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/11.76, allocations: 51.31 kB / 4.794 GB, free: 79.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/11.76, allocations: 0.8154 MB / 4.795 GB, free: 79.04 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/11.76, allocations: 7.5 kB / 4.795 GB, free: 79.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.978e-05/11.76, allocations: 26.17 kB / 4.795 GB, free: 79.02 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.074e-05/11.77, allocations: 35.97 kB / 4.795 GB, free: 79.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/11.77, allocations: 0.6317 MB / 4.796 GB, free: 78.79 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004822/11.77, allocations: 3.936 MB / 4.8 GB, free: 75.75 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007642/11.77, allocations: 396 kB / 4.8 GB, free: 75.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004187/11.77, allocations: 0.5073 MB / 4.8 GB, free: 75.01 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/11.77, allocations: 40.14 kB / 4.8 GB, free: 74.97 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=40): time 2.254e-06/11.77, allocations: 0 / 4.8 GB, free: 74.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45): time 0.003177/11.78, allocations: 1.503 MB / 4.802 GB, free: 74.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/11.78, allocations: 136.4 kB / 4.802 GB, free: 74 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005976/11.78, allocations: 0.4975 MB / 4.803 GB, free: 73.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/11.78, allocations: 37.64 kB / 4.803 GB, free: 73.73 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/11.78, allocations: 359 kB / 4.803 GB, free: 73.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/11.78, allocations: 160.6 kB / 4.803 GB, free: 73.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/11.78, allocations: 15.84 kB / 4.803 GB, free: 73.31 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/11.78, allocations: 376.6 kB / 4.803 GB, free: 72.97 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/11.78, allocations: 213.5 kB / 4.804 GB, free: 72.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/11.78, allocations: 0.5081 MB / 4.804 GB, free: 72.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/11.78, allocations: 312.5 kB / 4.804 GB, free: 72.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/11.78, allocations: 4.625 kB / 4.804 GB, free: 72.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001639/11.78, allocations: 0.9274 MB / 4.805 GB, free: 71.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/11.78, allocations: 7.938 kB / 4.805 GB, free: 71.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/11.78, allocations: 11.47 kB / 4.805 GB, free: 71.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/11.78, allocations: 265.1 kB / 4.806 GB, free: 71.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/11.78, allocations: 127.4 kB / 4.806 GB, free: 71.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008345/11.78, allocations: 0.8608 MB / 4.807 GB, free: 71.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007257/11.78, allocations: 43.77 kB / 4.807 GB, free: 71.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.396e-05/11.78, allocations: 36.95 kB / 4.807 GB, free: 71.15 MB / 0.5417 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 () * 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.0004059/11.78, allocations: 250.9 kB / 4.807 GB, free: 70.96 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/11.78, allocations: 64.92 kB / 4.807 GB, free: 70.93 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/11.78, allocations: 0.7028 MB / 4.808 GB, free: 70.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/11.78, allocations: 10.19 kB / 4.808 GB, free: 70.61 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/11.78, allocations: 0 / 4.808 GB, free: 70.61 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/11.78, allocations: 3.938 kB / 4.808 GB, free: 70.61 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/11.79, allocations: 1.389 MB / 4.809 GB, free: 69.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/11.79, allocations: 0 / 4.809 GB, free: 69.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009522/11.79, allocations: 201.4 kB / 4.809 GB, free: 69.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003021/11.79, allocations: 58.97 kB / 4.809 GB, free: 69.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/11.79, allocations: 14.89 kB / 4.809 GB, free: 69.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/11.79, allocations: 2.805 MB / 4.812 GB, free: 67.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/11.79, allocations: 3.594 kB / 4.812 GB, free: 67.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/11.79, allocations: 1.062 MB / 4.813 GB, free: 66.27 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003679/11.79, allocations: 201 kB / 4.813 GB, free: 66.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/11.79, allocations: 8 kB / 4.813 GB, free: 66.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/11.79, allocations: 35.66 kB / 4.813 GB, free: 66.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/11.79, allocations: 38.81 kB / 4.813 GB, free: 66.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.992e-05/11.79, allocations: 19.94 kB / 4.813 GB, free: 65.99 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004718/11.79, allocations: 394.8 kB / 4.814 GB, free: 65.67 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/11.79, allocations: 0 / 4.814 GB, free: 65.67 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001113/11.79, allocations: 247.8 kB / 4.814 GB, free: 65.43 MB / 0.5417 GB 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.002336/11.8, allocations: 2.38 MB / 4.816 GB, free: 63.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001121/11.8, allocations: 0.5905 MB / 4.817 GB, free: 62.64 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/11.8, allocations: 4 kB / 4.817 GB, free: 62.64 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/11.8, allocations: 467.7 kB / 4.817 GB, free: 62.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/11.8, allocations: 326.5 kB / 4.818 GB, free: 62 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007683/11.81, allocations: 10.48 MB / 4.828 GB, free: 51.77 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/11.81, allocations: 0.9506 MB / 4.829 GB, free: 50.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009251/11.81, allocations: 205.8 kB / 4.829 GB, free: 50.76 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003927/11.81, allocations: 232.9 kB / 4.829 GB, free: 50.55 MB / 0.5417 GB Notification: Performance of SimCode: time 6.081e-06/11.81, allocations: 0 / 4.829 GB, free: 50.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04341/11.85, allocations: 22.93 MB / 4.852 GB, free: 37.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/11.85, allocations: 282.8 kB / 4.852 GB, free: 37.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.797/14.65, allocations: 4 kB / 4.852 GB, free: 37.01 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat