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.001067/0.001067, allocations: 180.1 kB / 14.15 MB, free: 1.176 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.501/1.501, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 87.55 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.809e-05/4.819e-05, allocations: 8.203 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1506, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.967/8.117, allocations: 2.787 GB / 3.289 GB, free: 83.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/8.118, allocations: 82.02 kB / 3.289 GB, free: 83.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.898/10.02, allocations: 444.1 MB / 3.723 GB, free: 55.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.268e-06/10.02, allocations: 0 / 3.723 GB, free: 55.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000127/10.02, allocations: 25.27 kB / 3.723 GB, free: 55.59 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.01182/10.03, allocations: 1.758 MB / 3.724 GB, free: 54.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.145e-05/10.03, allocations: 14.16 kB / 3.724 GB, free: 54.52 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004632/10.03, allocations: 93.25 kB / 3.725 GB, free: 54.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/10.03, allocations: 338.7 kB / 3.725 GB, free: 54.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/10.03, allocations: 0.5617 MB / 3.725 GB, free: 54.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.565e-05/10.03, allocations: 54.17 kB / 3.726 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/10.03, allocations: 55.53 kB / 3.726 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/10.04, allocations: 0.9739 MB / 3.727 GB, free: 53.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/10.04, allocations: 6.969 kB / 3.727 GB, free: 53.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/10.04, allocations: 22.62 kB / 3.727 GB, free: 53.49 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-05/10.04, allocations: 29.05 kB / 3.727 GB, free: 53.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/10.04, allocations: 0.809 MB / 3.727 GB, free: 53.25 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.005556/10.04, allocations: 4.541 MB / 3.732 GB, free: 49.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/10.05, allocations: 0.7358 MB / 3.733 GB, free: 49.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/10.05, allocations: 249.2 kB / 3.733 GB, free: 48.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1065/10.15, allocations: 55.74 MB / 3.787 GB, free: 3.18 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.442e-05/10.15, allocations: 42.94 kB / 3.787 GB, free: 3.129 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 3.256e-06/10.15, allocations: 0 / 3.787 GB, free: 3.129 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.007227/10.16, allocations: 1.859 MB / 3.789 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/10.16, allocations: 119.2 kB / 3.789 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/10.16, allocations: 440.7 kB / 3.79 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/10.16, allocations: 37.7 kB / 3.79 GB, free: 0.582 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/10.16, allocations: 323.4 kB / 3.79 GB, free: 272 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/10.16, allocations: 180.5 kB / 3.79 GB, free: 92 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/10.16, allocations: 12 kB / 3.79 GB, free: 80 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.4496/10.61, allocations: 362.8 kB / 3.79 GB, free: 84.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007724/10.61, allocations: 194.6 kB / 3.791 GB, free: 84.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/10.61, allocations: 370.8 kB / 3.791 GB, free: 84.42 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/10.61, allocations: 235.6 kB / 3.791 GB, free: 84.41 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/10.61, allocations: 1.594 kB / 3.791 GB, free: 84.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002103/10.62, allocations: 0.8031 MB / 3.792 GB, free: 84.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004411/10.62, allocations: 1.746 MB / 3.794 GB, free: 82.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/10.62, allocations: 5.156 kB / 3.794 GB, free: 82.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/10.62, allocations: 388.8 kB / 3.794 GB, free: 82.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/10.62, allocations: 137.5 kB / 3.794 GB, free: 82.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/10.62, allocations: 0.869 MB / 3.795 GB, free: 82.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/10.62, allocations: 91.45 kB / 3.795 GB, free: 82.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-05/10.62, allocations: 39.48 kB / 3.795 GB, free: 82.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/10.62, allocations: 3.875 kB / 3.795 GB, free: 82.02 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002351/10.62, allocations: 0.7721 MB / 3.796 GB, free: 81.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/10.62, allocations: 4.281 kB / 3.796 GB, free: 81.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/10.63, allocations: 307.9 kB / 3.796 GB, free: 81.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/10.63, allocations: 139.6 kB / 3.796 GB, free: 81.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/10.63, allocations: 0.8486 MB / 3.797 GB, free: 81.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009533/10.63, allocations: 92.95 kB / 3.797 GB, free: 81.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/10.63, allocations: 35.02 kB / 3.797 GB, free: 81.46 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 () * 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.0003282/10.63, allocations: 145.7 kB / 3.797 GB, free: 81.36 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/10.63, allocations: 66.44 kB / 3.798 GB, free: 81.35 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004184/10.63, allocations: 2.858 MB / 3.8 GB, free: 81.13 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.337e-05/10.63, allocations: 43.92 kB / 3.8 GB, free: 81.13 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/10.63, allocations: 3.75 kB / 3.8 GB, free: 81.13 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/10.63, allocations: 3.328 kB / 3.8 GB, free: 81.13 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005804/10.64, allocations: 4.008 MB / 3.804 GB, free: 80.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/10.64, allocations: 0 / 3.804 GB, free: 80.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008658/10.64, allocations: 181 kB / 3.804 GB, free: 80.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003448/10.64, allocations: 73.25 kB / 3.805 GB, free: 80.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/10.64, allocations: 19.03 kB / 3.805 GB, free: 80.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006043/10.64, allocations: 1.174 MB / 3.806 GB, free: 79.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/10.64, allocations: 3.844 kB / 3.806 GB, free: 79.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003421/10.65, allocations: 2.38 MB / 3.808 GB, free: 79.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007883/10.65, allocations: 335.1 kB / 3.808 GB, free: 79.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/10.65, allocations: 16.19 kB / 3.808 GB, free: 79.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/10.65, allocations: 73.69 kB / 3.808 GB, free: 79.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/10.65, allocations: 62.5 kB / 3.808 GB, free: 79.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.497e-05/10.65, allocations: 28.75 kB / 3.809 GB, free: 79.15 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007753/10.65, allocations: 446.4 kB / 3.809 GB, free: 79.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.51e-07/10.65, allocations: 3.531 kB / 3.809 GB, free: 79.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00838/10.66, allocations: 1.413 MB / 3.81 GB, free: 79.05 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 () * 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.0165/10.67, allocations: 4.564 MB / 3.815 GB, free: 78.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004068/10.68, allocations: 1.31 MB / 3.816 GB, free: 78.18 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/10.68, allocations: 0.875 kB / 3.816 GB, free: 78.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/10.68, allocations: 0.8112 MB / 3.817 GB, free: 78.17 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/10.68, allocations: 323 kB / 3.817 GB, free: 78.17 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009104/10.69, allocations: 2.553 MB / 3.82 GB, free: 77.69 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009425/10.69, allocations: 1.169 MB / 3.821 GB, free: 76.98 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001819/10.69, allocations: 0.6991 MB / 3.821 GB, free: 76.97 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006493/10.69, allocations: 452 kB / 3.822 GB, free: 76.96 MB / 0.5417 GB Notification: Performance of SimCode: time 1.523e-06/10.69, allocations: 0 / 3.822 GB, free: 76.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/10.82, allocations: 59.4 MB / 3.88 GB, free: 75.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/10.82, allocations: 256 kB / 3.88 GB, free: 74.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.149/14.96, allocations: 1.312 kB / 3.88 GB, free: 74.77 MB / 0.5417 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