Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 89.05 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.141e-05/4.176e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.125, allocations: 63.24 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.865/5.99, allocations: 2.788 GB / 3.3 GB, free: 141.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/5.99, allocations: 84.17 kB / 3.3 GB, free: 141.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.443/7.433, allocations: 443.5 MB / 3.733 GB, free: 72.23 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.282e-06/7.433, allocations: 0 / 3.733 GB, free: 72.23 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.901e-05/7.433, allocations: 17.69 kB / 3.733 GB, free: 72.23 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.005542/7.439, allocations: 1.756 MB / 3.734 GB, free: 71.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/7.439, allocations: 6.438 kB / 3.734 GB, free: 71.62 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/7.439, allocations: 102.8 kB / 3.735 GB, free: 71.58 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/7.441, allocations: 325.3 kB / 3.735 GB, free: 71.54 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/7.442, allocations: 0.5724 MB / 3.735 GB, free: 71.31 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/7.442, allocations: 49.53 kB / 3.735 GB, free: 71.31 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/7.442, allocations: 53.34 kB / 3.735 GB, free: 71.31 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/7.444, allocations: 0.974 MB / 3.736 GB, free: 71.11 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/7.444, allocations: 5.094 kB / 3.736 GB, free: 71.11 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/7.444, allocations: 28.02 kB / 3.736 GB, free: 71.11 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/7.444, allocations: 20.72 kB / 3.736 GB, free: 71.11 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/7.446, allocations: 0.8073 MB / 3.737 GB, free: 71.1 MB / 0.5417 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.0048/7.451, allocations: 4.802 MB / 3.742 GB, free: 67.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/7.452, allocations: 0.6402 MB / 3.743 GB, free: 67.78 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/7.453, allocations: 214.5 kB / 3.743 GB, free: 67.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0482/7.501, allocations: 26.72 MB / 3.769 GB, free: 50.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/7.501, allocations: 33.25 kB / 3.769 GB, free: 50.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 2.725e-06/7.501, allocations: 6.719 kB / 3.769 GB, free: 50.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.003102/7.504, allocations: 1.02 MB / 3.77 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/7.504, allocations: 108.5 kB / 3.77 GB, free: 50.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006222/7.505, allocations: 454.6 kB / 3.77 GB, free: 50.12 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.256e-05/7.505, allocations: 37.42 kB / 3.771 GB, free: 50.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/7.505, allocations: 339.4 kB / 3.771 GB, free: 49.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/7.505, allocations: 145.9 kB / 3.771 GB, free: 49.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/7.505, allocations: 10.12 kB / 3.771 GB, free: 49.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.326e-05/7.505, allocations: 370 kB / 3.771 GB, free: 49.56 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/7.506, allocations: 165.6 kB / 3.771 GB, free: 49.56 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/7.506, allocations: 343.4 kB / 3.772 GB, free: 49.36 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/7.506, allocations: 203.9 kB / 3.772 GB, free: 49.36 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/7.506, allocations: 0 / 3.772 GB, free: 49.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001027/7.507, allocations: 0.6502 MB / 3.773 GB, free: 49.28 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000344/7.508, allocations: 2.012 MB / 3.775 GB, free: 47.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/7.508, allocations: 3.969 kB / 3.775 GB, free: 47.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/7.509, allocations: 264.8 kB / 3.775 GB, free: 47.19 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/7.509, allocations: 134.7 kB / 3.775 GB, free: 47.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006323/7.51, allocations: 0.7518 MB / 3.776 GB, free: 46.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007854/7.511, allocations: 120.2 kB / 3.776 GB, free: 46.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/7.511, allocations: 32.62 kB / 3.776 GB, free: 46.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/7.511, allocations: 3.844 kB / 3.776 GB, free: 46.64 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001273/7.512, allocations: 0.6079 MB / 3.776 GB, free: 46.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/7.512, allocations: 7.25 kB / 3.776 GB, free: 46.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007755/7.513, allocations: 181.3 kB / 3.777 GB, free: 46.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/7.513, allocations: 134.2 kB / 3.777 GB, free: 46.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004633/7.514, allocations: 0.7101 MB / 3.777 GB, free: 46.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006746/7.515, allocations: 113.4 kB / 3.778 GB, free: 46.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/7.515, allocations: 34.19 kB / 3.778 GB, free: 46.07 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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.0001474/7.515, allocations: 138.2 kB / 3.778 GB, free: 45.97 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/7.515, allocations: 58.69 kB / 3.778 GB, free: 45.94 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/7.518, allocations: 3 MB / 3.781 GB, free: 45.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/7.518, allocations: 40.81 kB / 3.781 GB, free: 45.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/7.518, allocations: 0 / 3.781 GB, free: 45.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/7.518, allocations: 3.703 kB / 3.781 GB, free: 45.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/7.519, allocations: 1.445 MB / 3.782 GB, free: 45.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/7.519, allocations: 0 / 3.782 GB, free: 45.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/7.519, allocations: 96.02 kB / 3.782 GB, free: 45.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/7.521, allocations: 1.219 MB / 3.783 GB, free: 45.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/7.521, allocations: 14.31 kB / 3.783 GB, free: 45.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/7.522, allocations: 1.479 MB / 3.785 GB, free: 44.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/7.522, allocations: 3.953 kB / 3.785 GB, free: 44.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/7.524, allocations: 1.953 MB / 3.787 GB, free: 44.43 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/7.524, allocations: 325.8 kB / 3.787 GB, free: 44.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/7.525, allocations: 12.95 kB / 3.787 GB, free: 44.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005799/7.525, allocations: 88.17 kB / 3.787 GB, free: 44.22 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/7.525, allocations: 49.7 kB / 3.787 GB, free: 44.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/7.525, allocations: 23.5 kB / 3.787 GB, free: 44.22 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004587/7.526, allocations: 455.8 kB / 3.788 GB, free: 44.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.1e-07/7.526, allocations: 0 / 3.788 GB, free: 44.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005363/7.531, allocations: 1.433 MB / 3.789 GB, free: 43.89 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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (40): * Single equations (assignments): 30 * 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.01098/7.542, allocations: 3.828 MB / 3.793 GB, free: 42.87 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002199/7.544, allocations: 1.133 MB / 3.794 GB, free: 42.85 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/7.544, allocations: 0 / 3.794 GB, free: 42.85 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007869/7.545, allocations: 0.7239 MB / 3.795 GB, free: 42.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/7.547, allocations: 323.4 kB / 3.795 GB, free: 42.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006012/7.553, allocations: 2.337 MB / 3.797 GB, free: 42.21 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/7.554, allocations: 1.155 MB / 3.798 GB, free: 41.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001203/7.555, allocations: 0.6799 MB / 3.799 GB, free: 41.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/7.555, allocations: 397.7 kB / 3.799 GB, free: 41.49 MB / 0.5417 GB Notification: Performance of SimCode: time 1.012e-06/7.555, allocations: 0 / 3.799 GB, free: 41.49 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08421/7.639, allocations: 57.94 MB / 3.856 GB, free: 38.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/7.64, allocations: 243 kB / 3.856 GB, free: 38.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.688/11.33, allocations: 3.938 kB / 3.856 GB, free: 38.56 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat