Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002114/0.002114, allocations: 198.8 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.659/1.659, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009976/0.0009976, allocations: 98.2 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4381/0.4381, allocations: 45.23 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003102, allocations: 11.98 kB / 468.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4426, allocations: 63.25 MB / 0.5193 GB, free: 43.73 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.036/6.479, allocations: 2.788 GB / 3.307 GB, free: 153.9 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/6.479, allocations: 97.67 kB / 3.307 GB, free: 153.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.711/8.19, allocations: 444.9 MB / 3.742 GB, free: 66.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.895e-06/8.19, allocations: 1.531 kB / 3.742 GB, free: 66.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.088e-05/8.19, allocations: 23.31 kB / 3.742 GB, free: 66.45 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.008771/8.199, allocations: 1.867 MB / 3.744 GB, free: 65.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/8.199, allocations: 10.5 kB / 3.744 GB, free: 65.73 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/8.199, allocations: 98.06 kB / 3.744 GB, free: 65.69 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/8.202, allocations: 331.5 kB / 3.744 GB, free: 65.65 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/8.203, allocations: 0.5584 MB / 3.745 GB, free: 65.42 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/8.203, allocations: 52.28 kB / 3.745 GB, free: 65.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.338e-05/8.203, allocations: 57.17 kB / 3.745 GB, free: 65.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/8.206, allocations: 1.021 MB / 3.746 GB, free: 65.21 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/8.206, allocations: 2.766 kB / 3.746 GB, free: 65.21 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.336e-05/8.206, allocations: 25.16 kB / 3.746 GB, free: 65.21 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/8.206, allocations: 27.23 kB / 3.746 GB, free: 65.21 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002778/8.209, allocations: 0.9436 MB / 3.747 GB, free: 65.21 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.006244/8.215, allocations: 4.762 MB / 3.751 GB, free: 62.07 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/8.218, allocations: 0.8266 MB / 3.752 GB, free: 62.05 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04961/8.267, allocations: 26.72 MB / 3.778 GB, free: 44.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/8.267, allocations: 38.84 kB / 3.778 GB, free: 44.64 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=45): time 2.545e-06/8.267, allocations: 0 / 3.778 GB, free: 44.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45): time 0.006789/8.274, allocations: 1.701 MB / 3.78 GB, free: 44.47 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/8.274, allocations: 108.6 kB / 3.78 GB, free: 44.34 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007677/8.275, allocations: 469.5 kB / 3.781 GB, free: 44.23 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.545e-05/8.275, allocations: 33.42 kB / 3.781 GB, free: 44.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/8.276, allocations: 337.2 kB / 3.781 GB, free: 44.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/8.276, allocations: 153.2 kB / 3.781 GB, free: 43.94 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/8.276, allocations: 9.188 kB / 3.781 GB, free: 43.94 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001517/8.276, allocations: 375.7 kB / 3.782 GB, free: 43.63 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006445/8.277, allocations: 247.2 kB / 3.782 GB, free: 43.63 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007232/8.277, allocations: 439.5 kB / 3.782 GB, free: 43.42 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000637/8.278, allocations: 295.5 kB / 3.782 GB, free: 43.41 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/8.278, allocations: 2.719 kB / 3.782 GB, free: 43.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001989/8.28, allocations: 0.847 MB / 3.783 GB, free: 43.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005348/8.281, allocations: 2.096 MB / 3.785 GB, free: 41.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/8.281, allocations: 10.2 kB / 3.785 GB, free: 41.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/8.282, allocations: 301.5 kB / 3.786 GB, free: 41.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/8.283, allocations: 143.8 kB / 3.786 GB, free: 41.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/8.284, allocations: 0.802 MB / 3.787 GB, free: 40.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009515/8.285, allocations: 124.8 kB / 3.787 GB, free: 40.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.791e-05/8.285, allocations: 30.61 kB / 3.787 GB, free: 40.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/8.285, allocations: 3.969 kB / 3.787 GB, free: 40.59 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002616/8.288, allocations: 0.7906 MB / 3.787 GB, free: 40.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/8.288, allocations: 5.031 kB / 3.787 GB, free: 40.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/8.289, allocations: 212.3 kB / 3.788 GB, free: 40.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/8.29, allocations: 149.8 kB / 3.788 GB, free: 40.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009638/8.291, allocations: 0.7519 MB / 3.789 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009729/8.292, allocations: 115.3 kB / 3.789 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-05/8.292, allocations: 39.42 kB / 3.789 GB, free: 40.02 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (56): * Single equations (assignments): 55 * 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.0007336/8.293, allocations: 276.6 kB / 3.789 GB, free: 39.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/8.293, allocations: 70.11 kB / 3.789 GB, free: 39.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/8.298, allocations: 2.901 MB / 3.792 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.216e-05/8.298, allocations: 41.95 kB / 3.792 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/8.298, allocations: 0 / 3.792 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/8.298, allocations: 3.75 kB / 3.792 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/8.3, allocations: 1.371 MB / 3.793 GB, free: 39.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/8.3, allocations: 0 / 3.793 GB, free: 39.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/8.301, allocations: 105.8 kB / 3.793 GB, free: 39.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002805/8.304, allocations: 1.068 MB / 3.794 GB, free: 39.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.15e-05/8.304, allocations: 22.39 kB / 3.794 GB, free: 39.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/8.306, allocations: 1.438 MB / 3.796 GB, free: 38.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/8.306, allocations: 1.031 kB / 3.796 GB, free: 38.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002976/8.309, allocations: 1.897 MB / 3.798 GB, free: 38.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006434/8.309, allocations: 369.5 kB / 3.798 GB, free: 38.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/8.309, allocations: 7.188 kB / 3.798 GB, free: 38.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/8.31, allocations: 93.45 kB / 3.798 GB, free: 38.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/8.31, allocations: 49.52 kB / 3.798 GB, free: 38.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/8.31, allocations: 22.83 kB / 3.798 GB, free: 38.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007819/8.311, allocations: 0.5548 MB / 3.799 GB, free: 38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.71e-07/8.311, allocations: 0 / 3.799 GB, free: 38 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008536/8.32, allocations: 1.45 MB / 3.8 GB, free: 37.79 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: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01538/8.335, allocations: 3.832 MB / 3.804 GB, free: 36.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003979/8.339, allocations: 1.308 MB / 3.805 GB, free: 36.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/8.339, allocations: 0 / 3.805 GB, free: 36.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/8.34, allocations: 0.7134 MB / 3.806 GB, free: 36.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/8.342, allocations: 336.6 kB / 3.806 GB, free: 36.72 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/8.355, allocations: 7.285 MB / 3.813 GB, free: 31.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009294/8.356, allocations: 1.147 MB / 3.814 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001459/8.357, allocations: 0.6518 MB / 3.815 GB, free: 30.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006408/8.358, allocations: 412.8 kB / 3.815 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of SimCode: time 2.444e-06/8.358, allocations: 0 / 3.815 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/8.461, allocations: 54.86 MB / 3.869 GB, free: 27.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/8.461, allocations: 264.4 kB / 3.869 GB, free: 27.51 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.864/13.32, allocations: 0 / 3.869 GB, free: 27.51 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat