Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001786/0.001786, allocations: 202.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.434/1.434, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 100.9 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 45.16 MB / 383.8 MB, free: 216 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.902e-05/1.903e-05, allocations: 4 kB / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1334, allocations: 63.25 MB / 0.5045 GB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.179, allocations: 322.8 MB / 0.8197 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/1.18, allocations: 83.39 kB / 0.8198 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7397/1.919, allocations: 167.5 MB / 0.9834 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.164e-06/1.919, allocations: 0 / 0.9834 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001172/1.919, allocations: 21 kB / 0.9834 GB, free: 127.2 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003598/1.923, allocations: 1.045 MB / 0.9844 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/1.923, allocations: 10.25 kB / 0.9844 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008656/1.924, allocations: 101.8 kB / 0.9845 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/1.926, allocations: 0.612 MB / 0.9851 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/1.926, allocations: 16.66 kB / 0.9851 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/1.926, allocations: 30.09 kB / 0.9852 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001382/1.927, allocations: 0.6242 MB / 0.9858 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/1.929, allocations: 0.6712 MB / 0.9864 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/1.929, allocations: 2.344 kB / 0.9864 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/1.929, allocations: 3.062 kB / 0.9864 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/1.929, allocations: 23.66 kB / 0.9864 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00518/1.934, allocations: 3.177 MB / 0.9896 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007897/1.935, allocations: 394.8 kB / 0.9899 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/1.935, allocations: 246.3 kB / 0.9902 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003984/1.936, allocations: 0.5786 MB / 0.9907 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/1.936, allocations: 38.31 kB / 0.9908 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000783/1.937, allocations: 114.4 kB / 0.9909 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 5.521e-06/1.937, allocations: 0 / 0.9909 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=63): time 0.03331/1.97, allocations: 4.959 MB / 0.9957 GB, free: 123 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/1.97, allocations: 115.5 kB / 0.9958 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009128/1.971, allocations: 457.3 kB / 0.9963 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001633/1.971, allocations: 25.7 kB / 0.9963 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/1.972, allocations: 369.8 kB / 0.9966 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/1.972, allocations: 201.6 kB / 0.9968 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/1.972, allocations: 0 / 0.9968 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.972, allocations: 382.5 kB / 0.9972 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/1.973, allocations: 276.2 kB / 0.9975 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006969/1.974, allocations: 466.3 kB / 0.9979 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003454/1.977, allocations: 0.6615 MB / 0.9986 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/1.977, allocations: 0 / 0.9986 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004732/1.982, allocations: 1.339 MB / 0.9999 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007068/1.983, allocations: 2.011 MB / 1.002 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/1.983, allocations: 6.812 kB / 1.002 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003969/1.987, allocations: 0.7267 MB / 1.003 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007837/1.987, allocations: 199.4 kB / 1.003 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004092/1.991, allocations: 1.904 MB / 1.005 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/1.993, allocations: 93.53 kB / 1.005 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/1.993, allocations: 58.83 kB / 1.005 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.993, allocations: 3.938 kB / 1.005 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00428/1.997, allocations: 1.075 MB / 1.006 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/1.997, allocations: 5.875 kB / 1.006 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/1.999, allocations: 280.8 kB / 1.006 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008195/2, allocations: 214.2 kB / 1.006 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007317/2.007, allocations: 4.647 MB / 1.011 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/2.008, allocations: 89.81 kB / 1.011 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/2.009, allocations: 41.75 kB / 1.011 GB, free: 115.8 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.000556/2.009, allocations: 123.3 kB / 1.011 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00474/2.014, allocations: 1.188 MB / 1.012 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/2.014, allocations: 75.06 kB / 1.012 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/2.018, allocations: 1.379 MB / 1.014 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/2.018, allocations: 14.03 kB / 1.014 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/2.018, allocations: 0 / 1.014 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/2.018, allocations: 3.938 kB / 1.014 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005392/2.023, allocations: 2.18 MB / 1.016 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/2.023, allocations: 4.047 kB / 1.016 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005913/2.024, allocations: 156.7 kB / 1.016 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/2.026, allocations: 0.491 MB / 1.016 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/2.026, allocations: 16.34 kB / 1.016 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/2.028, allocations: 1.615 MB / 1.018 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/2.028, allocations: 0 / 1.018 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/2.032, allocations: 1.586 MB / 1.02 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006184/2.032, allocations: 254.6 kB / 1.02 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/2.033, allocations: 6.875 kB / 1.02 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009392/2.033, allocations: 86.97 kB / 1.02 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/2.034, allocations: 55.28 kB / 1.02 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.466e-05/2.034, allocations: 42.47 kB / 1.02 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005699/2.034, allocations: 346.1 kB / 1.02 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.01e-07/2.034, allocations: 0 / 1.02 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003198/2.037, allocations: 0.6458 MB / 1.021 GB, free: 113.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.006612/2.044, allocations: 2.619 MB / 1.023 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004765/2.049, allocations: 1.45 MB / 1.025 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/2.049, allocations: 3 kB / 1.025 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/2.05, allocations: 416.2 kB / 1.025 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/2.053, allocations: 297.2 kB / 1.026 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/2.057, allocations: 1.306 MB / 1.027 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/2.057, allocations: 0.9847 MB / 1.028 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001552/2.059, allocations: 250.2 kB / 1.028 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/2.06, allocations: 308.2 kB / 1.028 GB, free: 110 MB / 0.5261 GB Notification: Performance of SimCode: time 1.262e-06/2.06, allocations: 0 / 1.028 GB, free: 110 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0715/2.131, allocations: 30.71 MB / 1.058 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/2.131, allocations: 201.2 kB / 1.059 GB, free: 100 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.094/6.226, allocations: 32 / 1.059 GB, free: 100 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat