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.002055/0.002055, allocations: 199 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.87/1.87, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 99.81 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4198/0.4198, allocations: 45.23 MB / 394.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 8.219 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4886/0.489, allocations: 63.24 MB / 0.5193 GB, free: 44.02 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.121/8.61, allocations: 2.788 GB / 3.307 GB, free: 154.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/8.611, allocations: 91.61 kB / 3.307 GB, free: 154.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.924/10.54, allocations: 444.7 MB / 3.742 GB, free: 66.12 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.314e-06/10.54, allocations: 0 / 3.742 GB, free: 66.12 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.636e-05/10.54, allocations: 18.09 kB / 3.742 GB, free: 66.12 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.007645/10.54, allocations: 1.838 MB / 3.744 GB, free: 65.41 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/10.54, allocations: 9.844 kB / 3.744 GB, free: 65.41 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002251/10.54, allocations: 106.2 kB / 3.744 GB, free: 65.37 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/10.55, allocations: 328.9 kB / 3.744 GB, free: 65.33 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/10.55, allocations: 0.5645 MB / 3.745 GB, free: 65.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.66e-05/10.55, allocations: 47.41 kB / 3.745 GB, free: 65.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/10.55, allocations: 60.47 kB / 3.745 GB, free: 65.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/10.55, allocations: 1 MB / 3.746 GB, free: 64.89 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/10.55, allocations: 3.703 kB / 3.746 GB, free: 64.89 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/10.55, allocations: 25.41 kB / 3.746 GB, free: 64.89 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/10.55, allocations: 18.89 kB / 3.746 GB, free: 64.89 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/10.55, allocations: 0.9062 MB / 3.747 GB, free: 64.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.005529/10.56, allocations: 4.804 MB / 3.751 GB, free: 61.59 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/10.56, allocations: 0.6938 MB / 3.752 GB, free: 61.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04918/10.61, allocations: 26.64 MB / 3.778 GB, free: 44.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.854e-05/10.61, allocations: 41.23 kB / 3.778 GB, free: 44.26 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 2.535e-06/10.61, allocations: 1.344 kB / 3.778 GB, free: 44.26 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.006186/10.62, allocations: 1.64 MB / 3.78 GB, free: 44.08 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/10.62, allocations: 107.8 kB / 3.78 GB, free: 43.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/10.62, allocations: 465.3 kB / 3.78 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/10.62, allocations: 33.33 kB / 3.78 GB, free: 43.81 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/10.62, allocations: 334.5 kB / 3.781 GB, free: 43.66 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/10.62, allocations: 152.9 kB / 3.781 GB, free: 43.57 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/10.62, allocations: 13.91 kB / 3.781 GB, free: 43.57 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000103/10.62, allocations: 365.2 kB / 3.781 GB, free: 43.25 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005393/10.62, allocations: 244.9 kB / 3.781 GB, free: 43.25 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/10.62, allocations: 412.3 kB / 3.782 GB, free: 43.05 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000609/10.62, allocations: 272.3 kB / 3.782 GB, free: 43.05 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/10.62, allocations: 3.656 kB / 3.782 GB, free: 43.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001798/10.62, allocations: 0.8127 MB / 3.783 GB, free: 42.97 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004905/10.62, allocations: 2.005 MB / 3.785 GB, free: 40.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/10.62, allocations: 10.98 kB / 3.785 GB, free: 40.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/10.62, allocations: 294.1 kB / 3.785 GB, free: 40.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/10.62, allocations: 137.2 kB / 3.785 GB, free: 40.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009504/10.62, allocations: 0.7884 MB / 3.786 GB, free: 40.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008322/10.63, allocations: 126.5 kB / 3.786 GB, free: 40.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/10.63, allocations: 33.7 kB / 3.786 GB, free: 40.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/10.63, allocations: 4.531 kB / 3.786 GB, free: 40.32 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002327/10.63, allocations: 0.7587 MB / 3.787 GB, free: 40.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/10.63, allocations: 8.656 kB / 3.787 GB, free: 40.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/10.63, allocations: 210.2 kB / 3.787 GB, free: 40.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/10.63, allocations: 140.4 kB / 3.787 GB, free: 40.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009927/10.63, allocations: 0.751 MB / 3.788 GB, free: 39.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007877/10.63, allocations: 109.8 kB / 3.788 GB, free: 39.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/10.63, allocations: 33.78 kB / 3.788 GB, free: 39.74 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 (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.0005148/10.63, allocations: 284.2 kB / 3.788 GB, free: 39.55 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/10.63, allocations: 62.28 kB / 3.788 GB, free: 39.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004621/10.64, allocations: 3.017 MB / 3.791 GB, free: 39.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.641e-05/10.64, allocations: 50.03 kB / 3.791 GB, free: 39.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/10.64, allocations: 1.281 kB / 3.791 GB, free: 39.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/10.64, allocations: 7.078 kB / 3.791 GB, free: 39.21 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/10.64, allocations: 1.453 MB / 3.793 GB, free: 38.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/10.64, allocations: 3 kB / 3.793 GB, free: 38.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/10.64, allocations: 89.34 kB / 3.793 GB, free: 38.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/10.64, allocations: 1.068 MB / 3.794 GB, free: 38.88 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/10.64, allocations: 11.84 kB / 3.794 GB, free: 38.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/10.64, allocations: 1.43 MB / 3.795 GB, free: 38.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/10.64, allocations: 3.953 kB / 3.795 GB, free: 38.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00287/10.65, allocations: 2.026 MB / 3.797 GB, free: 38.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005414/10.65, allocations: 332.6 kB / 3.798 GB, free: 37.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.042e-05/10.65, allocations: 9.516 kB / 3.798 GB, free: 37.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/10.65, allocations: 82.59 kB / 3.798 GB, free: 37.83 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/10.65, allocations: 51.08 kB / 3.798 GB, free: 37.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/10.65, allocations: 19.52 kB / 3.798 GB, free: 37.83 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006584/10.65, allocations: 470.5 kB / 3.798 GB, free: 37.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.433e-06/10.65, allocations: 0 / 3.798 GB, free: 37.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007141/10.66, allocations: 1.427 MB / 3.8 GB, free: 37.51 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 () * Number of clocked 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.01352/10.67, allocations: 3.975 MB / 3.803 GB, free: 36.48 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003384/10.67, allocations: 1.33 MB / 3.805 GB, free: 36.46 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/10.67, allocations: 0 / 3.805 GB, free: 36.46 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/10.67, allocations: 0.7896 MB / 3.806 GB, free: 36.45 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/10.68, allocations: 323.5 kB / 3.806 GB, free: 36.45 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/10.69, allocations: 7.223 MB / 3.813 GB, free: 31.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006928/10.69, allocations: 1.154 MB / 3.814 GB, free: 30.54 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001467/10.69, allocations: 0.6455 MB / 3.815 GB, free: 30.54 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/10.69, allocations: 404.7 kB / 3.815 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of SimCode: time 1.843e-06/10.69, allocations: 0 / 3.815 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/10.79, allocations: 54.4 MB / 3.868 GB, free: 27.78 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/10.79, allocations: 268.4 kB / 3.868 GB, free: 27.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.015/14.81, allocations: 0 / 3.868 GB, free: 27.43 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