Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",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.00173/0.00173, allocations: 184.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2748/0.2748, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004376, allocations: 11.98 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1864, allocations: 58.86 MB / 490.4 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.49/6.677, allocations: 2.782 GB / 3.261 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/6.677, allocations: 92.25 kB / 3.261 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.433/8.11, allocations: 440.7 MB / 3.691 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.976e-06/8.11, allocations: 0 / 3.691 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.204e-05/8.11, allocations: 23.91 kB / 3.691 GB, free: 34.21 MB / 0.5105 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.008131/8.118, allocations: 1.827 MB / 3.693 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/8.118, allocations: 8.562 kB / 3.693 GB, free: 32.33 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001977/8.119, allocations: 102.5 kB / 3.693 GB, free: 32.22 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002516/8.121, allocations: 330.7 kB / 3.693 GB, free: 31.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/8.122, allocations: 0.569 MB / 3.694 GB, free: 31.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.921e-05/8.122, allocations: 57.31 kB / 3.694 GB, free: 31.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.099e-05/8.122, allocations: 60.62 kB / 3.694 GB, free: 31.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/8.124, allocations: 1.008 MB / 3.695 GB, free: 30.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/8.124, allocations: 4 kB / 3.695 GB, free: 30.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/8.125, allocations: 20 kB / 3.695 GB, free: 30.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/8.125, allocations: 21 kB / 3.695 GB, free: 30.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/8.127, allocations: 0.917 MB / 3.696 GB, free: 29.15 MB / 0.5105 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.004248/8.131, allocations: 4.54 MB / 3.7 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/8.133, allocations: 0.8101 MB / 3.701 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4267/8.56, allocations: 55.53 MB / 3.755 GB, free: 40.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/8.56, allocations: 42.44 kB / 3.755 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.246e-06/8.56, allocations: 0 / 3.755 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.006571/8.566, allocations: 2.281 MB / 3.758 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/8.567, allocations: 107.1 kB / 3.758 GB, free: 40.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005731/8.567, allocations: 454.8 kB / 3.758 GB, free: 40 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/8.567, allocations: 36.33 kB / 3.758 GB, free: 39.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/8.567, allocations: 320.2 kB / 3.758 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/8.568, allocations: 180.2 kB / 3.759 GB, free: 39.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/8.568, allocations: 17.16 kB / 3.759 GB, free: 39.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.028e-05/8.568, allocations: 365.8 kB / 3.759 GB, free: 39.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/8.568, allocations: 270.3 kB / 3.759 GB, free: 39.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/8.569, allocations: 440.7 kB / 3.76 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000643/8.57, allocations: 311.4 kB / 3.76 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/8.57, allocations: 0 / 3.76 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002029/8.572, allocations: 0.9702 MB / 3.761 GB, free: 39.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003429/8.572, allocations: 1.741 MB / 3.763 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/8.572, allocations: 7.562 kB / 3.763 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/8.574, allocations: 429.6 kB / 3.763 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/8.574, allocations: 138.5 kB / 3.763 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/8.576, allocations: 0.9157 MB / 3.764 GB, free: 36.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007897/8.577, allocations: 97.52 kB / 3.764 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.529e-05/8.577, allocations: 35.45 kB / 3.764 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/8.577, allocations: 10.78 kB / 3.764 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002558/8.579, allocations: 0.9392 MB / 3.765 GB, free: 36.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/8.579, allocations: 3.844 kB / 3.765 GB, free: 36.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/8.581, allocations: 339.4 kB / 3.765 GB, free: 36.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/8.581, allocations: 144.5 kB / 3.766 GB, free: 36.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/8.582, allocations: 0.8909 MB / 3.766 GB, free: 36.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006778/8.583, allocations: 93.61 kB / 3.767 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/8.583, allocations: 33.7 kB / 3.767 GB, free: 36.23 MB / 0.5105 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.0003822/8.584, allocations: 280.4 kB / 3.767 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/8.584, allocations: 72.58 kB / 3.767 GB, free: 36.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003085/8.587, allocations: 2.922 MB / 3.77 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.962e-05/8.587, allocations: 49.11 kB / 3.77 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/8.587, allocations: 1.5 kB / 3.77 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/8.587, allocations: 3.141 kB / 3.77 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004211/8.591, allocations: 4.086 MB / 3.774 GB, free: 35.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/8.591, allocations: 0 / 3.774 GB, free: 35.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007066/8.592, allocations: 172.8 kB / 3.774 GB, free: 35.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003508/8.592, allocations: 75.56 kB / 3.774 GB, free: 35.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/8.592, allocations: 20.77 kB / 3.774 GB, free: 35.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004711/8.593, allocations: 1.182 MB / 3.775 GB, free: 34.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/8.593, allocations: 0 / 3.775 GB, free: 34.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/8.596, allocations: 2.574 MB / 3.778 GB, free: 33.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/8.596, allocations: 334.7 kB / 3.778 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.557e-05/8.596, allocations: 13.69 kB / 3.778 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/8.597, allocations: 80.2 kB / 3.778 GB, free: 33.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/8.597, allocations: 52.67 kB / 3.778 GB, free: 33.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/8.597, allocations: 26.92 kB / 3.778 GB, free: 33.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000498/8.597, allocations: 460.2 kB / 3.779 GB, free: 33.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/8.597, allocations: 1.5 kB / 3.779 GB, free: 33.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005754/8.603, allocations: 1.413 MB / 3.78 GB, free: 33.68 MB / 0.5105 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.0119/8.615, allocations: 4.773 MB / 3.785 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003479/8.619, allocations: 1.497 MB / 3.786 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/8.619, allocations: 0 / 3.786 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/8.62, allocations: 0.8635 MB / 3.787 GB, free: 32.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/8.622, allocations: 326.4 kB / 3.787 GB, free: 32.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007755/8.629, allocations: 7.015 MB / 3.794 GB, free: 28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/8.63, allocations: 1.16 MB / 3.795 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001032/8.631, allocations: 0.6648 MB / 3.796 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004728/8.631, allocations: 462.5 kB / 3.796 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of SimCode: time 2.374e-06/8.631, allocations: 0 / 3.796 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/8.743, allocations: 55.62 MB / 3.851 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/8.743, allocations: 276.7 kB / 3.851 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.233/12.98, allocations: 0 / 3.851 GB, free: 23.65 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat