Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.656/1.656, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 101 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.529/0.529, allocations: 44.22 MB / 387.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003772, allocations: 8 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.446, allocations: 61.89 MB / 0.5096 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.916/7.362, allocations: 2.787 GB / 3.297 GB, free: 110 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/7.363, allocations: 93.45 kB / 3.297 GB, free: 110 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.563/8.926, allocations: 445.3 MB / 3.732 GB, free: 59.15 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.964e-06/8.926, allocations: 0 / 3.732 GB, free: 59.15 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.286e-05/8.926, allocations: 20.25 kB / 3.732 GB, free: 59.15 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007765/8.934, allocations: 1.837 MB / 3.734 GB, free: 58.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.839e-05/8.934, allocations: 14.12 kB / 3.734 GB, free: 58.38 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/8.934, allocations: 104.6 kB / 3.734 GB, free: 58.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/8.937, allocations: 326.7 kB / 3.734 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/8.938, allocations: 0.5741 MB / 3.735 GB, free: 58.06 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/8.938, allocations: 46.66 kB / 3.735 GB, free: 58.06 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/8.938, allocations: 59.53 kB / 3.735 GB, free: 58.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/8.941, allocations: 1.005 MB / 3.736 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/8.941, allocations: 2.938 kB / 3.736 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-05/8.941, allocations: 24.81 kB / 3.736 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-05/8.941, allocations: 28.25 kB / 3.736 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/8.943, allocations: 0.9131 MB / 3.737 GB, free: 57.84 MB / 0.5261 GB 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.004815/8.948, allocations: 4.538 MB / 3.741 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/8.951, allocations: 0.8102 MB / 3.742 GB, free: 54.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09653/9.047, allocations: 55.56 MB / 3.796 GB, free: 36.05 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.976e-05/9.047, allocations: 42.72 kB / 3.796 GB, free: 36.01 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 3.687e-06/9.047, allocations: 0 / 3.796 GB, free: 36.01 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.006786/9.054, allocations: 2.26 MB / 3.798 GB, free: 35.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/9.054, allocations: 110.6 kB / 3.799 GB, free: 35.45 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006246/9.055, allocations: 467.9 kB / 3.799 GB, free: 35.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/9.055, allocations: 32.58 kB / 3.799 GB, free: 35.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/9.055, allocations: 327.6 kB / 3.799 GB, free: 35.12 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/9.055, allocations: 170.6 kB / 3.799 GB, free: 35.02 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/9.055, allocations: 14.91 kB / 3.799 GB, free: 35.02 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001599/9.056, allocations: 378 kB / 3.8 GB, free: 34.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005714/9.056, allocations: 266.9 kB / 3.8 GB, free: 34.69 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/9.057, allocations: 438 kB / 3.801 GB, free: 34.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/9.057, allocations: 313.5 kB / 3.801 GB, free: 34.49 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/9.057, allocations: 0 / 3.801 GB, free: 34.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002063/9.06, allocations: 0.9623 MB / 3.802 GB, free: 34.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006642/9.06, allocations: 1.752 MB / 3.803 GB, free: 32.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/9.06, allocations: 3.844 kB / 3.803 GB, free: 32.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/9.062, allocations: 427.1 kB / 3.804 GB, free: 32.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/9.063, allocations: 140.3 kB / 3.804 GB, free: 32.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/9.064, allocations: 0.9191 MB / 3.805 GB, free: 32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008459/9.065, allocations: 97.3 kB / 3.805 GB, free: 31.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/9.065, allocations: 41.17 kB / 3.805 GB, free: 31.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/9.065, allocations: 3.781 kB / 3.805 GB, free: 31.99 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002544/9.068, allocations: 0.9308 MB / 3.806 GB, free: 31.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/9.068, allocations: 6.781 kB / 3.806 GB, free: 31.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/9.069, allocations: 349.9 kB / 3.806 GB, free: 31.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/9.07, allocations: 142.6 kB / 3.806 GB, free: 31.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/9.071, allocations: 0.8864 MB / 3.807 GB, free: 31.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008313/9.072, allocations: 91.38 kB / 3.807 GB, free: 31.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/9.072, allocations: 31.92 kB / 3.807 GB, free: 31.39 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0005546/9.073, allocations: 293.4 kB / 3.808 GB, free: 31.19 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/9.073, allocations: 68.19 kB / 3.808 GB, free: 31.16 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/9.076, allocations: 2.916 MB / 3.811 GB, free: 30.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/9.076, allocations: 44.23 kB / 3.811 GB, free: 30.82 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/9.076, allocations: 0 / 3.811 GB, free: 30.82 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/9.076, allocations: 3.328 kB / 3.811 GB, free: 30.82 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004481/9.081, allocations: 4.091 MB / 3.815 GB, free: 30.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/9.081, allocations: 0 / 3.815 GB, free: 30.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007131/9.082, allocations: 173.5 kB / 3.815 GB, free: 30.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003426/9.082, allocations: 78.19 kB / 3.815 GB, free: 30.34 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/9.082, allocations: 16.64 kB / 3.815 GB, free: 30.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007345/9.083, allocations: 1.19 MB / 3.816 GB, free: 29.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/9.083, allocations: 0 / 3.816 GB, free: 29.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/9.086, allocations: 2.58 MB / 3.819 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005/9.086, allocations: 332.3 kB / 3.819 GB, free: 28.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.707e-05/9.086, allocations: 11.09 kB / 3.819 GB, free: 28.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005566/9.087, allocations: 76.41 kB / 3.819 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/9.087, allocations: 49.34 kB / 3.819 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/9.087, allocations: 32.14 kB / 3.819 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005442/9.088, allocations: 460.4 kB / 3.82 GB, free: 28.64 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.162e-06/9.088, allocations: 3.906 kB / 3.82 GB, free: 28.64 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007488/9.095, allocations: 1.409 MB / 3.821 GB, free: 28.45 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01268/9.108, allocations: 4.78 MB / 3.826 GB, free: 27.32 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003601/9.111, allocations: 1.502 MB / 3.827 GB, free: 27.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/9.111, allocations: 4.312 kB / 3.827 GB, free: 27.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/9.113, allocations: 0.862 MB / 3.828 GB, free: 27.26 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/9.114, allocations: 321.3 kB / 3.828 GB, free: 27.24 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008506/9.123, allocations: 7.012 MB / 3.835 GB, free: 22.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/9.123, allocations: 1.167 MB / 3.836 GB, free: 21.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001081/9.125, allocations: 0.6598 MB / 3.837 GB, free: 21.59 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/9.125, allocations: 458.5 kB / 3.837 GB, free: 21.57 MB / 0.5417 GB Notification: Performance of SimCode: time 8.21e-07/9.125, allocations: 0 / 3.837 GB, free: 21.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08918/9.214, allocations: 55.7 MB / 3.892 GB, free: 9.855 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/9.215, allocations: 284.2 kB / 3.892 GB, free: 9.496 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.434/13.65, allocations: 0 / 3.892 GB, free: 9.496 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat