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.00104/0.00104, allocations: 196.1 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.302/1.302, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009391/0.000939, allocations: 86.89 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1937/0.1937, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.113e-05, allocations: 4 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 63.24 MB / 0.5115 GB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.598/5.714, allocations: 2.771 GB / 3.283 GB, free: 17.34 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/5.714, allocations: 85.58 kB / 3.283 GB, free: 17.29 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.333/7.047, allocations: 424.7 MB / 3.698 GB, free: 37.44 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.403e-06/7.047, allocations: 0 / 3.698 GB, free: 37.44 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.498e-05/7.047, allocations: 18.27 kB / 3.698 GB, free: 37.42 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.005752/7.053, allocations: 1.652 MB / 3.699 GB, free: 35.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/7.053, allocations: 12.03 kB / 3.699 GB, free: 35.71 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/7.053, allocations: 94.5 kB / 3.699 GB, free: 35.61 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/7.055, allocations: 309.3 kB / 3.7 GB, free: 35.31 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/7.056, allocations: 0.5173 MB / 3.7 GB, free: 34.76 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/7.056, allocations: 46.17 kB / 3.7 GB, free: 34.72 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-05/7.056, allocations: 48 kB / 3.7 GB, free: 34.67 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/7.058, allocations: 0.9566 MB / 3.701 GB, free: 33.65 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/7.058, allocations: 3.938 kB / 3.701 GB, free: 33.65 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.36e-05/7.058, allocations: 24 kB / 3.701 GB, free: 33.62 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/7.058, allocations: 20.98 kB / 3.701 GB, free: 33.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/7.06, allocations: 0.7883 MB / 3.702 GB, free: 32.81 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.004091/7.064, allocations: 4.654 MB / 3.707 GB, free: 27.78 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/7.066, allocations: 0.6763 MB / 3.707 GB, free: 27.09 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/7.066, allocations: 224.7 kB / 3.707 GB, free: 26.87 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3414/7.407, allocations: 26.72 MB / 3.733 GB, free: 81.01 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/7.407, allocations: 36.92 kB / 3.734 GB, free: 80.97 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 3.898e-06/7.408, allocations: 3.219 kB / 3.734 GB, free: 80.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.003459/7.411, allocations: 0.9987 MB / 3.735 GB, free: 80.92 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/7.411, allocations: 111.7 kB / 3.735 GB, free: 80.79 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/7.412, allocations: 402.1 kB / 3.735 GB, free: 80.68 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/7.412, allocations: 32.14 kB / 3.735 GB, free: 80.65 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/7.412, allocations: 319.3 kB / 3.735 GB, free: 80.52 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/7.412, allocations: 143.5 kB / 3.735 GB, free: 80.45 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/7.412, allocations: 15.12 kB / 3.735 GB, free: 80.45 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/7.412, allocations: 362.2 kB / 3.736 GB, free: 80.14 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/7.412, allocations: 154.6 kB / 3.736 GB, free: 80.14 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/7.413, allocations: 324.7 kB / 3.736 GB, free: 79.95 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/7.413, allocations: 196.4 kB / 3.736 GB, free: 79.95 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/7.413, allocations: 0 / 3.736 GB, free: 79.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001102/7.414, allocations: 0.659 MB / 3.737 GB, free: 79.87 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003999/7.414, allocations: 1.921 MB / 3.739 GB, free: 77.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/7.414, allocations: 5.219 kB / 3.739 GB, free: 77.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007285/7.415, allocations: 178.1 kB / 3.739 GB, free: 77.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/7.416, allocations: 119.1 kB / 3.739 GB, free: 77.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006181/7.416, allocations: 0.7287 MB / 3.74 GB, free: 77.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006256/7.417, allocations: 108.2 kB / 3.74 GB, free: 77.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/7.417, allocations: 32.23 kB / 3.74 GB, free: 77.33 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/7.417, allocations: 3.844 kB / 3.74 GB, free: 77.33 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001096/7.418, allocations: 0.5746 MB / 3.741 GB, free: 77.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/7.418, allocations: 3.938 kB / 3.741 GB, free: 77.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007597/7.419, allocations: 167.9 kB / 3.741 GB, free: 77.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/7.419, allocations: 129 kB / 3.741 GB, free: 77.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004791/7.42, allocations: 0.7043 MB / 3.742 GB, free: 76.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/7.42, allocations: 94.62 kB / 3.742 GB, free: 76.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/7.42, allocations: 29.66 kB / 3.742 GB, free: 76.76 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 () * 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.0001565/7.421, allocations: 147.6 kB / 3.742 GB, free: 76.66 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.981e-05/7.421, allocations: 58.39 kB / 3.742 GB, free: 76.63 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/7.423, allocations: 2.896 MB / 3.745 GB, free: 76.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-05/7.423, allocations: 41.12 kB / 3.745 GB, free: 76.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/7.423, allocations: 0 / 3.745 GB, free: 76.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/7.423, allocations: 6.281 kB / 3.745 GB, free: 76.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/7.425, allocations: 1.429 MB / 3.746 GB, free: 76.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/7.425, allocations: 0 / 3.746 GB, free: 76.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/7.425, allocations: 87.52 kB / 3.746 GB, free: 76.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/7.426, allocations: 0.7464 MB / 3.747 GB, free: 76.09 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/7.426, allocations: 24.03 kB / 3.747 GB, free: 76.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007934/7.427, allocations: 1.239 MB / 3.748 GB, free: 75.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/7.427, allocations: 3.531 kB / 3.748 GB, free: 75.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/7.429, allocations: 1.804 MB / 3.75 GB, free: 75.24 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/7.429, allocations: 320.8 kB / 3.75 GB, free: 75.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.337e-05/7.429, allocations: 19.09 kB / 3.75 GB, free: 75.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004823/7.43, allocations: 74.05 kB / 3.75 GB, free: 75.08 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/7.43, allocations: 50.14 kB / 3.751 GB, free: 75.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/7.43, allocations: 21.95 kB / 3.751 GB, free: 75.08 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004739/7.43, allocations: 417.4 kB / 3.751 GB, free: 74.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/7.43, allocations: 2.25 kB / 3.751 GB, free: 74.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005799/7.436, allocations: 1.362 MB / 3.752 GB, free: 74.96 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 () * 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.008971/7.445, allocations: 3.71 MB / 3.756 GB, free: 74.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0023/7.447, allocations: 1.129 MB / 3.757 GB, free: 74.07 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/7.447, allocations: 0.875 kB / 3.757 GB, free: 74.07 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000841/7.448, allocations: 0.7191 MB / 3.758 GB, free: 74.05 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/7.45, allocations: 300.2 kB / 3.758 GB, free: 74.05 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005498/7.455, allocations: 2.255 MB / 3.76 GB, free: 73.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/7.456, allocations: 1.143 MB / 3.761 GB, free: 72.87 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001345/7.457, allocations: 0.6849 MB / 3.762 GB, free: 72.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/7.458, allocations: 384.4 kB / 3.762 GB, free: 72.85 MB / 0.5417 GB Notification: Performance of SimCode: time 9.52e-07/7.458, allocations: 1.188 kB / 3.762 GB, free: 72.85 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08584/7.544, allocations: 56.08 MB / 3.817 GB, free: 71.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/7.544, allocations: 234.1 kB / 3.817 GB, free: 71 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.568/11.11, allocations: 0 / 3.817 GB, free: 71 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