Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002531/0.002531, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.724/1.724, allocations: 227.2 MB / 245 MB, free: 7.66 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 98.16 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5252/0.5252, allocations: 45.24 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003326, allocations: 8 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/0.5435, allocations: 63.25 MB / 0.5193 GB, free: 43.78 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.594/8.138, allocations: 2.788 GB / 3.308 GB, free: 154 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/8.138, allocations: 91.41 kB / 3.308 GB, free: 154 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.653/9.79, allocations: 445.4 MB / 3.743 GB, free: 66.03 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.663e-06/9.791, allocations: 0 / 3.743 GB, free: 66.03 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.763e-05/9.791, allocations: 22.33 kB / 3.743 GB, free: 66.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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007658/9.798, allocations: 1.845 MB / 3.744 GB, free: 65.33 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/9.798, allocations: 11.44 kB / 3.744 GB, free: 65.33 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003511/9.799, allocations: 100.6 kB / 3.745 GB, free: 65.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002724/9.801, allocations: 329.4 kB / 3.745 GB, free: 65.25 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/9.803, allocations: 0.5721 MB / 3.745 GB, free: 65.01 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.901e-05/9.803, allocations: 52.28 kB / 3.745 GB, free: 65.01 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/9.803, allocations: 56 kB / 3.746 GB, free: 65.01 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/9.806, allocations: 1.005 MB / 3.746 GB, free: 64.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/9.806, allocations: 4.875 kB / 3.747 GB, free: 64.81 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/9.806, allocations: 27.62 kB / 3.747 GB, free: 64.81 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-05/9.806, allocations: 21.33 kB / 3.747 GB, free: 64.81 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/9.809, allocations: 0.9136 MB / 3.747 GB, free: 64.81 MB / 0.5417 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.004709/9.813, allocations: 4.534 MB / 3.752 GB, free: 61.58 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/9.816, allocations: 0.8204 MB / 3.753 GB, free: 61.56 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1242/9.94, allocations: 61.81 MB / 3.813 GB, free: 36.92 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.588e-05/9.94, allocations: 38.56 kB / 3.813 GB, free: 36.88 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 3.236e-06/9.94, allocations: 0 / 3.813 GB, free: 36.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=52): time 0.007922/9.948, allocations: 2.272 MB / 3.815 GB, free: 36.46 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/9.948, allocations: 108.4 kB / 3.815 GB, free: 36.33 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007884/9.949, allocations: 452.8 kB / 3.816 GB, free: 36.22 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.618e-05/9.949, allocations: 32.45 kB / 3.816 GB, free: 36.19 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/9.949, allocations: 333.2 kB / 3.816 GB, free: 36.03 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/9.949, allocations: 180.3 kB / 3.816 GB, free: 35.91 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/9.949, allocations: 9.688 kB / 3.816 GB, free: 35.91 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001939/9.95, allocations: 374 kB / 3.817 GB, free: 35.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006101/9.95, allocations: 267.2 kB / 3.817 GB, free: 35.59 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006949/9.951, allocations: 436.3 kB / 3.817 GB, free: 35.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/9.952, allocations: 308.5 kB / 3.818 GB, free: 35.39 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/9.952, allocations: 3.844 kB / 3.818 GB, free: 35.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002277/9.954, allocations: 0.9651 MB / 3.819 GB, free: 35.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008382/9.955, allocations: 1.75 MB / 3.82 GB, free: 33.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/9.955, allocations: 3 kB / 3.82 GB, free: 33.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/9.957, allocations: 438 kB / 3.821 GB, free: 33.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005123/9.958, allocations: 134.4 kB / 3.821 GB, free: 33.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/9.959, allocations: 0.9127 MB / 3.822 GB, free: 32.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009304/9.96, allocations: 96.05 kB / 3.822 GB, free: 32.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/9.96, allocations: 35.06 kB / 3.822 GB, free: 32.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/9.96, allocations: 3.375 kB / 3.822 GB, free: 32.89 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002645/9.963, allocations: 0.9376 MB / 3.823 GB, free: 32.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/9.963, allocations: 3.625 kB / 3.823 GB, free: 32.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/9.965, allocations: 359 kB / 3.823 GB, free: 32.83 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/9.965, allocations: 137.1 kB / 3.823 GB, free: 32.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/9.966, allocations: 0.8968 MB / 3.824 GB, free: 32.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000867/9.967, allocations: 92.61 kB / 3.824 GB, free: 32.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/9.967, allocations: 36.83 kB / 3.824 GB, free: 32.29 MB / 0.5573 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.0005267/9.968, allocations: 285.7 kB / 3.825 GB, free: 32.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/9.968, allocations: 64.5 kB / 3.825 GB, free: 32.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/9.973, allocations: 2.921 MB / 3.827 GB, free: 31.71 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-05/9.973, allocations: 45.58 kB / 3.828 GB, free: 31.71 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/9.973, allocations: 0 / 3.828 GB, free: 31.71 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/9.973, allocations: 5.578 kB / 3.828 GB, free: 31.71 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005321/9.978, allocations: 4.081 MB / 3.832 GB, free: 31.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/9.978, allocations: 3.281 kB / 3.832 GB, free: 31.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007674/9.979, allocations: 173.9 kB / 3.832 GB, free: 31.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003902/9.979, allocations: 78.22 kB / 3.832 GB, free: 31.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/9.979, allocations: 18.25 kB / 3.832 GB, free: 31.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007404/9.98, allocations: 1.184 MB / 3.833 GB, free: 30.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/9.98, allocations: 0 / 3.833 GB, free: 30.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/9.983, allocations: 2.582 MB / 3.835 GB, free: 29.85 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005867/9.984, allocations: 337.3 kB / 3.836 GB, free: 29.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/9.984, allocations: 14.16 kB / 3.836 GB, free: 29.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006818/9.985, allocations: 69.39 kB / 3.836 GB, free: 29.64 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/9.985, allocations: 51.69 kB / 3.836 GB, free: 29.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/9.985, allocations: 27.66 kB / 3.836 GB, free: 29.64 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006372/9.986, allocations: 466.1 kB / 3.836 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.4e-07/9.986, allocations: 0 / 3.836 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007511/9.993, allocations: 1.424 MB / 3.838 GB, free: 29.34 MB / 0.5573 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.01554/10.01, allocations: 4.773 MB / 3.842 GB, free: 28.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004641/10.01, allocations: 1.499 MB / 3.844 GB, free: 28.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/10.01, allocations: 3.5 kB / 3.844 GB, free: 28.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001832/10.02, allocations: 0.8661 MB / 3.845 GB, free: 28.17 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/10.02, allocations: 321.6 kB / 3.845 GB, free: 28.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009771/10.03, allocations: 7.03 MB / 3.852 GB, free: 23.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007225/10.03, allocations: 1.168 MB / 3.853 GB, free: 22.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001195/10.03, allocations: 0.6548 MB / 3.854 GB, free: 22.52 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005637/10.03, allocations: 462.2 kB / 3.854 GB, free: 22.51 MB / 0.5573 GB Notification: Performance of SimCode: time 1.032e-06/10.03, allocations: 0 / 3.854 GB, free: 22.51 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08121/10.11, allocations: 55.78 MB / 3.909 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/10.11, allocations: 275 kB / 3.909 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.248/14.36, allocations: 0 / 3.909 GB, free: 8.234 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat