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.001775/0.001776, allocations: 197.5 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.657/1.657, allocations: 227.2 MB / 245 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009954/0.0009958, allocations: 96.05 kB / 297.2 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5204/0.5204, allocations: 45.22 MB / 394.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003372, allocations: 8.219 kB / 468.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5807/0.5811, allocations: 63.26 MB / 0.5193 GB, free: 43.67 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8/8.581, allocations: 2.771 GB / 3.291 GB, free: 136.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/8.581, allocations: 93.56 kB / 3.291 GB, free: 136.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.653/10.23, allocations: 425.9 MB / 3.707 GB, free: 66.32 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.444e-06/10.23, allocations: 0 / 3.707 GB, free: 66.32 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.166e-05/10.23, allocations: 16.52 kB / 3.707 GB, free: 66.32 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.008514/10.24, allocations: 1.73 MB / 3.708 GB, free: 65.56 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.312e-05/10.24, allocations: 11.75 kB / 3.708 GB, free: 65.56 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005076/10.24, allocations: 98.58 kB / 3.708 GB, free: 65.52 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/10.25, allocations: 294.7 kB / 3.709 GB, free: 65.48 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/10.25, allocations: 0.5398 MB / 3.709 GB, free: 65.23 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/10.25, allocations: 46.5 kB / 3.709 GB, free: 65.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/10.25, allocations: 57 kB / 3.709 GB, free: 65.23 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003201/10.25, allocations: 0.9663 MB / 3.71 GB, free: 65.03 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/10.25, allocations: 7.609 kB / 3.71 GB, free: 65.02 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/10.25, allocations: 28.62 kB / 3.71 GB, free: 65.02 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/10.25, allocations: 24.92 kB / 3.71 GB, free: 65.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/10.26, allocations: 0.8717 MB / 3.711 GB, free: 65.02 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.006167/10.26, allocations: 4.638 MB / 3.716 GB, free: 61.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/10.26, allocations: 0.7564 MB / 3.716 GB, free: 61.78 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04488/10.31, allocations: 26.64 MB / 3.743 GB, free: 44.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/10.31, allocations: 38.19 kB / 3.743 GB, free: 44.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 2.465e-06/10.31, allocations: 0 / 3.743 GB, free: 44.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.006451/10.32, allocations: 1.61 MB / 3.744 GB, free: 44.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/10.32, allocations: 115.6 kB / 3.744 GB, free: 44.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006594/10.32, allocations: 410.2 kB / 3.745 GB, free: 44.04 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.784e-05/10.32, allocations: 33.48 kB / 3.745 GB, free: 44.01 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/10.32, allocations: 320.1 kB / 3.745 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/10.32, allocations: 142.4 kB / 3.745 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/10.32, allocations: 11.94 kB / 3.745 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001069/10.32, allocations: 359.5 kB / 3.745 GB, free: 43.44 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/10.32, allocations: 225.2 kB / 3.746 GB, free: 43.44 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006294/10.32, allocations: 388.9 kB / 3.746 GB, free: 43.24 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/10.32, allocations: 262.7 kB / 3.746 GB, free: 43.23 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/10.32, allocations: 0 / 3.746 GB, free: 43.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001901/10.32, allocations: 0.7984 MB / 3.747 GB, free: 43.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004144/10.32, allocations: 1.915 MB / 3.749 GB, free: 41.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/10.32, allocations: 7.438 kB / 3.749 GB, free: 41.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009312/10.32, allocations: 205.2 kB / 3.749 GB, free: 41.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/10.32, allocations: 129.4 kB / 3.749 GB, free: 41.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009264/10.32, allocations: 0.7674 MB / 3.75 GB, free: 40.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009055/10.32, allocations: 110.9 kB / 3.75 GB, free: 40.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.462e-05/10.32, allocations: 34.19 kB / 3.75 GB, free: 40.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/10.32, allocations: 3.062 kB / 3.75 GB, free: 40.54 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001809/10.33, allocations: 0.7169 MB / 3.751 GB, free: 40.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/10.33, allocations: 7.25 kB / 3.751 GB, free: 40.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/10.33, allocations: 208 kB / 3.751 GB, free: 40.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/10.33, allocations: 128.4 kB / 3.751 GB, free: 40.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008366/10.33, allocations: 0.7566 MB / 3.752 GB, free: 39.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008085/10.33, allocations: 97.14 kB / 3.752 GB, free: 39.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/10.33, allocations: 26.16 kB / 3.752 GB, free: 39.93 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 (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 (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.0005536/10.33, allocations: 288.1 kB / 3.752 GB, free: 39.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/10.33, allocations: 53.56 kB / 3.752 GB, free: 39.71 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003685/10.33, allocations: 2.916 MB / 3.755 GB, free: 39.38 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-05/10.33, allocations: 46.67 kB / 3.755 GB, free: 39.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/10.33, allocations: 0 / 3.755 GB, free: 39.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/10.33, allocations: 0 / 3.755 GB, free: 39.38 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/10.34, allocations: 1.434 MB / 3.757 GB, free: 39.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/10.34, allocations: 3.969 kB / 3.757 GB, free: 39.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/10.34, allocations: 90.84 kB / 3.757 GB, free: 39.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/10.34, allocations: 0.651 MB / 3.757 GB, free: 39.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/10.34, allocations: 18.25 kB / 3.757 GB, free: 39.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/10.34, allocations: 1.214 MB / 3.759 GB, free: 38.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/10.34, allocations: 2.844 kB / 3.759 GB, free: 38.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/10.34, allocations: 1.858 MB / 3.76 GB, free: 38.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/10.34, allocations: 324.8 kB / 3.761 GB, free: 38 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/10.34, allocations: 18.5 kB / 3.761 GB, free: 38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007115/10.34, allocations: 76.83 kB / 3.761 GB, free: 37.99 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/10.34, allocations: 45.53 kB / 3.761 GB, free: 37.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/10.34, allocations: 22.09 kB / 3.761 GB, free: 37.99 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000614/10.34, allocations: 419 kB / 3.761 GB, free: 37.89 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/10.34, allocations: 4 kB / 3.761 GB, free: 37.89 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007775/10.35, allocations: 1.365 MB / 3.763 GB, free: 37.68 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,$cse17.phase,$cse17.region,$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 (42): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01351/10.37, allocations: 3.856 MB / 3.766 GB, free: 36.58 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003303/10.37, allocations: 1.311 MB / 3.768 GB, free: 36.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/10.37, allocations: 0 / 3.768 GB, free: 36.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/10.37, allocations: 0.7836 MB / 3.768 GB, free: 36.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/10.37, allocations: 304.4 kB / 3.769 GB, free: 36.49 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/10.39, allocations: 8.7 MB / 3.777 GB, free: 30.62 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/10.39, allocations: 1.145 MB / 3.778 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001235/10.39, allocations: 0.658 MB / 3.779 GB, free: 29.87 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/10.39, allocations: 389.8 kB / 3.779 GB, free: 29.56 MB / 0.5417 GB Notification: Performance of SimCode: time 2.083e-06/10.39, allocations: 7.938 kB / 3.779 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09881/10.49, allocations: 52.77 MB / 3.831 GB, free: 16.63 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/10.49, allocations: 260 kB / 3.831 GB, free: 16.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.025/14.51, allocations: 8.906 kB / 3.831 GB, free: 16.27 MB / 0.5417 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