Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.611/1.611, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008957/0.0008959, allocations: 104.4 kB / 286.7 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2236/0.2236, allocations: 45.15 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.834e-05/1.835e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1387, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.573/8.712, allocations: 2.771 GB / 3.275 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/8.712, allocations: 79.3 kB / 3.275 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.768/10.48, allocations: 420.6 MB / 3.686 GB, free: 65.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.663e-06/10.48, allocations: 0 / 3.686 GB, free: 65.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.096e-05/10.48, allocations: 15.97 kB / 3.686 GB, free: 65.88 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00767/10.49, allocations: 1.665 MB / 3.688 GB, free: 65.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/10.49, allocations: 10.12 kB / 3.688 GB, free: 65.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/10.49, allocations: 295.4 kB / 3.688 GB, free: 65.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/10.49, allocations: 0.5213 MB / 3.688 GB, free: 64.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.147e-05/10.49, allocations: 26.56 kB / 3.688 GB, free: 64.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/10.49, allocations: 31.72 kB / 3.688 GB, free: 64.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001101/10.49, allocations: 0.5155 MB / 3.689 GB, free: 64.78 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/10.5, allocations: 0.6498 MB / 3.69 GB, free: 64.58 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/10.5, allocations: 0.75 kB / 3.69 GB, free: 64.58 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.038e-05/10.5, allocations: 3.844 kB / 3.69 GB, free: 64.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/10.5, allocations: 28.17 kB / 3.69 GB, free: 64.58 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.08512/10.58, allocations: 48.51 MB / 3.737 GB, free: 32.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/10.58, allocations: 387.2 kB / 3.737 GB, free: 32.33 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/10.58, allocations: 189.7 kB / 3.737 GB, free: 32.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05429/10.64, allocations: 26.73 MB / 3.764 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.603e-05/10.64, allocations: 33.83 kB / 3.764 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=39): time 2.715e-06/10.64, allocations: 3.156 kB / 3.764 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.003534/10.64, allocations: 0.8306 MB / 3.764 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/10.64, allocations: 109.3 kB / 3.765 GB, free: 29.94 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006649/10.64, allocations: 363.3 kB / 3.765 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.417e-05/10.64, allocations: 25.7 kB / 3.765 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/10.64, allocations: 340.2 kB / 3.765 GB, free: 29.59 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/10.64, allocations: 127.5 kB / 3.765 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/10.64, allocations: 0 / 3.765 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001824/10.64, allocations: 357.9 kB / 3.766 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/10.64, allocations: 156.4 kB / 3.766 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/10.64, allocations: 324.9 kB / 3.766 GB, free: 29 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009217/10.64, allocations: 246.5 kB / 3.766 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/10.64, allocations: 0 / 3.766 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00186/10.64, allocations: 0.68 MB / 3.767 GB, free: 28.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009434/10.65, allocations: 1.923 MB / 3.769 GB, free: 26.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/10.65, allocations: 3.125 kB / 3.769 GB, free: 26.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007816/10.65, allocations: 172.3 kB / 3.769 GB, free: 26.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/10.65, allocations: 125.4 kB / 3.769 GB, free: 26.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009515/10.65, allocations: 0.7634 MB / 3.77 GB, free: 26.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009151/10.65, allocations: 118 kB / 3.77 GB, free: 26.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/10.65, allocations: 27.56 kB / 3.77 GB, free: 26.31 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/10.65, allocations: 2.719 kB / 3.77 GB, free: 26.31 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001581/10.65, allocations: 0.5627 MB / 3.771 GB, free: 26.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/10.65, allocations: 3.031 kB / 3.771 GB, free: 26.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007648/10.65, allocations: 162 kB / 3.771 GB, free: 26.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/10.65, allocations: 132.7 kB / 3.771 GB, free: 26.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007399/10.65, allocations: 0.7203 MB / 3.772 GB, free: 25.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007807/10.65, allocations: 93.97 kB / 3.772 GB, free: 25.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/10.65, allocations: 32.38 kB / 3.772 GB, free: 25.72 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (53): * Single equations (assignments): 52 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002501/10.65, allocations: 116.1 kB / 3.772 GB, free: 25.61 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001534/10.66, allocations: 0.5242 MB / 3.772 GB, free: 25.53 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/10.66, allocations: 52.22 kB / 3.772 GB, free: 25.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003468/10.66, allocations: 2.36 MB / 3.775 GB, free: 25.22 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.232e-05/10.66, allocations: 35.58 kB / 3.775 GB, free: 25.22 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/10.66, allocations: 3.328 kB / 3.775 GB, free: 25.22 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/10.66, allocations: 0 / 3.775 GB, free: 25.22 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/10.66, allocations: 1.111 MB / 3.776 GB, free: 24.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/10.66, allocations: 0 / 3.776 GB, free: 24.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/10.66, allocations: 70.8 kB / 3.776 GB, free: 24.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/10.66, allocations: 0.7359 MB / 3.777 GB, free: 24.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/10.66, allocations: 6.844 kB / 3.777 GB, free: 24.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/10.67, allocations: 1.327 MB / 3.778 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/10.67, allocations: 0 / 3.778 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/10.67, allocations: 1.626 MB / 3.78 GB, free: 23.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005688/10.67, allocations: 277.3 kB / 3.78 GB, free: 23.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/10.67, allocations: 3.906 kB / 3.78 GB, free: 23.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006386/10.67, allocations: 65.34 kB / 3.78 GB, free: 23.54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/10.67, allocations: 41.05 kB / 3.78 GB, free: 23.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.666e-05/10.67, allocations: 19.7 kB / 3.78 GB, free: 23.53 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005355/10.67, allocations: 346.6 kB / 3.78 GB, free: 23.36 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/10.67, allocations: 0 / 3.78 GB, free: 23.36 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006702/10.68, allocations: 1.323 MB / 3.782 GB, free: 23.08 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: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01316/10.69, allocations: 3.614 MB / 3.785 GB, free: 21.51 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002427/10.69, allocations: 1.001 MB / 3.786 GB, free: 20.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/10.69, allocations: 0 / 3.786 GB, free: 20.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008647/10.69, allocations: 0.6024 MB / 3.787 GB, free: 20.28 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/10.7, allocations: 256.3 kB / 3.787 GB, free: 20.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006878/10.7, allocations: 1.964 MB / 3.789 GB, free: 18.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000865/10.7, allocations: 1.088 MB / 3.79 GB, free: 17.33 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001586/10.7, allocations: 0.743 MB / 3.791 GB, free: 16.89 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/10.71, allocations: 329.8 kB / 3.791 GB, free: 16.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.664e-06/10.71, allocations: 7.938 kB / 3.791 GB, free: 16.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4592/11.16, allocations: 45.96 MB / 3.836 GB, free: 96.08 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/11.16, allocations: 186.8 kB / 3.836 GB, free: 95.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.637/14.8, allocations: 0 / 3.836 GB, free: 95.89 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat