Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002649/0.002649, allocations: 197.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.715/1.715, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00114/0.001139, allocations: 110.6 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5281/0.5281, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003357, allocations: 8 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6753/0.6756, allocations: 63.24 MB / 0.5193 GB, free: 43.8 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.618/8.294, allocations: 2.793 GB / 3.312 GB, free: 156.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/8.294, allocations: 93.5 kB / 3.313 GB, free: 156.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.634/9.928, allocations: 445.7 MB / 3.748 GB, free: 65.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.494e-06/9.928, allocations: 2.312 kB / 3.748 GB, free: 65.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.587e-05/9.928, allocations: 20.66 kB / 3.748 GB, free: 65.16 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.008327/9.936, allocations: 1.86 MB / 3.75 GB, free: 64.41 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/9.936, allocations: 9.875 kB / 3.75 GB, free: 64.41 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002433/9.937, allocations: 102.7 kB / 3.75 GB, free: 64.38 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/9.939, allocations: 354.3 kB / 3.75 GB, free: 64.33 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/9.941, allocations: 0.5762 MB / 3.751 GB, free: 64.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.409e-05/9.941, allocations: 47.78 kB / 3.751 GB, free: 64.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/9.941, allocations: 55.97 kB / 3.751 GB, free: 64.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/9.943, allocations: 1.024 MB / 3.752 GB, free: 63.89 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/9.943, allocations: 4.75 kB / 3.752 GB, free: 63.89 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.535e-05/9.943, allocations: 23.47 kB / 3.752 GB, free: 63.89 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/9.943, allocations: 22.28 kB / 3.752 GB, free: 63.89 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/9.946, allocations: 0.9269 MB / 3.753 GB, free: 63.89 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.005209/9.951, allocations: 4.911 MB / 3.758 GB, free: 60.53 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/9.953, allocations: 0.7855 MB / 3.758 GB, free: 60.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04824/10, allocations: 26.76 MB / 3.784 GB, free: 43.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/10, allocations: 46.27 kB / 3.785 GB, free: 43.09 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=46): time 3.527e-06/10, allocations: 0.75 kB / 3.785 GB, free: 43.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46): time 0.006709/10.01, allocations: 1.654 MB / 3.786 GB, free: 42.92 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/10.01, allocations: 108.1 kB / 3.786 GB, free: 42.79 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007985/10.01, allocations: 462.1 kB / 3.787 GB, free: 42.68 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.997e-05/10.01, allocations: 34.2 kB / 3.787 GB, free: 42.65 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/10.01, allocations: 335.3 kB / 3.787 GB, free: 42.48 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/10.01, allocations: 157.2 kB / 3.787 GB, free: 42.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/10.01, allocations: 12.91 kB / 3.787 GB, free: 42.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001231/10.01, allocations: 368.9 kB / 3.788 GB, free: 42.07 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006495/10.01, allocations: 256 kB / 3.788 GB, free: 42.06 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007566/10.01, allocations: 418.1 kB / 3.788 GB, free: 41.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007238/10.01, allocations: 291.9 kB / 3.788 GB, free: 41.85 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/10.01, allocations: 2.156 kB / 3.788 GB, free: 41.85 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002088/10.01, allocations: 0.8293 MB / 3.789 GB, free: 41.78 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004811/10.01, allocations: 2.004 MB / 3.791 GB, free: 39.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/10.01, allocations: 4.562 kB / 3.791 GB, free: 39.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/10.02, allocations: 302 kB / 3.792 GB, free: 39.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/10.02, allocations: 142.9 kB / 3.792 GB, free: 39.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/10.02, allocations: 0.8015 MB / 3.792 GB, free: 39.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009481/10.02, allocations: 122 kB / 3.793 GB, free: 39.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/10.02, allocations: 34.05 kB / 3.793 GB, free: 39.12 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/10.02, allocations: 4.719 kB / 3.793 GB, free: 39.12 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002113/10.02, allocations: 0.7679 MB / 3.793 GB, free: 39.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/10.02, allocations: 5.125 kB / 3.793 GB, free: 39.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/10.02, allocations: 208.9 kB / 3.794 GB, free: 39.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007909/10.02, allocations: 149.1 kB / 3.794 GB, free: 39.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/10.02, allocations: 0.7602 MB / 3.794 GB, free: 38.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009454/10.03, allocations: 108.6 kB / 3.795 GB, free: 38.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/10.03, allocations: 34.19 kB / 3.795 GB, free: 38.54 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005611/10.03, allocations: 289.7 kB / 3.795 GB, free: 38.35 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/10.03, allocations: 66.91 kB / 3.795 GB, free: 38.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0039/10.03, allocations: 3.053 MB / 3.798 GB, free: 38.01 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.252e-05/10.03, allocations: 43.91 kB / 3.798 GB, free: 38.01 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/10.03, allocations: 3.594 kB / 3.798 GB, free: 38.01 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/10.03, allocations: 3.703 kB / 3.798 GB, free: 38.01 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/10.03, allocations: 1.481 MB / 3.799 GB, free: 37.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/10.03, allocations: 0 / 3.799 GB, free: 37.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/10.03, allocations: 98.88 kB / 3.799 GB, free: 37.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/10.03, allocations: 1.009 MB / 3.8 GB, free: 37.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/10.03, allocations: 14.75 kB / 3.8 GB, free: 37.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/10.04, allocations: 1.448 MB / 3.802 GB, free: 37.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/10.04, allocations: 8.609 kB / 3.802 GB, free: 37.15 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/10.04, allocations: 2.052 MB / 3.804 GB, free: 36.85 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/10.04, allocations: 344.2 kB / 3.804 GB, free: 36.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.562e-05/10.04, allocations: 11 kB / 3.804 GB, free: 36.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/10.04, allocations: 81.7 kB / 3.804 GB, free: 36.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/10.04, allocations: 56.08 kB / 3.804 GB, free: 36.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/10.04, allocations: 22.28 kB / 3.804 GB, free: 36.64 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006081/10.04, allocations: 463.1 kB / 3.805 GB, free: 36.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.856e-06/10.04, allocations: 0 / 3.805 GB, free: 36.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0078/10.05, allocations: 1.45 MB / 3.806 GB, free: 36.31 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01444/10.06, allocations: 4.008 MB / 3.81 GB, free: 35.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003571/10.07, allocations: 1.374 MB / 3.812 GB, free: 35.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/10.07, allocations: 0 / 3.812 GB, free: 35.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/10.07, allocations: 0.8053 MB / 3.812 GB, free: 35.26 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/10.07, allocations: 316.5 kB / 3.813 GB, free: 35.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009683/10.08, allocations: 7.27 MB / 3.82 GB, free: 29.99 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/10.08, allocations: 1.167 MB / 3.821 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001181/10.08, allocations: 0.6479 MB / 3.821 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006772/10.08, allocations: 424.9 kB / 3.822 GB, free: 29.23 MB / 0.5417 GB Notification: Performance of SimCode: time 2.004e-06/10.08, allocations: 0 / 3.822 GB, free: 29.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09971/10.18, allocations: 54.69 MB / 3.875 GB, free: 26.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000592/10.18, allocations: 269.2 kB / 3.876 GB, free: 25.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.109/14.29, allocations: 0 / 3.876 GB, free: 25.89 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat