Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 221.3 MB / 236 MB, free: 2.984 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 99.97 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2231/0.2231, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.489e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1548, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.23, allocations: 322.4 MB / 0.8167 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.23, allocations: 83.52 kB / 0.8168 GB, free: 86.66 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.728/1.958, allocations: 168.5 MB / 0.9813 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.874e-06/1.958, allocations: 0 / 0.9813 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.65e-05/1.958, allocations: 24.58 kB / 0.9813 GB, free: 137.9 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.003159/1.962, allocations: 1.046 MB / 0.9824 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/1.962, allocations: 6.812 kB / 0.9824 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002859/1.962, allocations: 99.38 kB / 0.9825 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005882/1.963, allocations: 100.8 kB / 0.9826 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/1.964, allocations: 0.6088 MB / 0.9832 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/1.964, allocations: 42.77 kB / 0.9832 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/1.964, allocations: 52.06 kB / 0.9832 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/1.966, allocations: 0.7602 MB / 0.984 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/1.966, allocations: 3.938 kB / 0.984 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.966, allocations: 29.95 kB / 0.984 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.231e-05/1.966, allocations: 31.95 kB / 0.9841 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/1.967, allocations: 0.65 MB / 0.9847 GB, free: 136 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004469/1.971, allocations: 3.288 MB / 0.9879 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007842/1.972, allocations: 396.2 kB / 0.9883 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004384/1.973, allocations: 256.8 kB / 0.9885 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003242/1.973, allocations: 0.568 MB / 0.9891 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/1.973, allocations: 41.72 kB / 0.9891 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007353/1.974, allocations: 134.6 kB / 0.9892 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 4.579e-06/1.974, allocations: 0 / 0.9892 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.03632/2.01, allocations: 6.149 MB / 0.9952 GB, free: 131 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/2.01, allocations: 111.1 kB / 0.9954 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/2.012, allocations: 0.5414 MB / 0.9959 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001854/2.012, allocations: 41.67 kB / 0.9959 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/2.012, allocations: 365.4 kB / 0.9963 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/2.013, allocations: 245 kB / 0.9965 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-05/2.013, allocations: 15.84 kB / 0.9965 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002047/2.013, allocations: 382.5 kB / 0.9969 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007013/2.014, allocations: 338.8 kB / 0.9972 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000735/2.014, allocations: 0.5132 MB / 0.9977 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007728/2.015, allocations: 400 kB / 0.9981 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/2.015, allocations: 7.969 kB / 0.9981 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002395/2.018, allocations: 1.161 MB / 0.9992 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005954/2.018, allocations: 2.009 MB / 1.001 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/2.018, allocations: 3.875 kB / 1.001 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006509/2.025, allocations: 1.191 MB / 1.002 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/2.026, allocations: 245.4 kB / 1.003 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/2.028, allocations: 1.599 MB / 1.004 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/2.029, allocations: 115.2 kB / 1.004 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/2.03, allocations: 66.78 kB / 1.004 GB, free: 125 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/2.03, allocations: 3.969 kB / 1.004 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002459/2.032, allocations: 1.086 MB / 1.005 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/2.032, allocations: 3.406 kB / 1.005 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/2.034, allocations: 403.1 kB / 1.006 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/2.035, allocations: 256 kB / 1.006 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/2.038, allocations: 2.674 MB / 1.009 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/2.04, allocations: 116.8 kB / 1.009 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/2.04, allocations: 55.27 kB / 1.009 GB, free: 122.2 MB / 0.5261 GB 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 (73): * Single equations (assignments): 71 * 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.000428/2.04, allocations: 156.3 kB / 1.009 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/2.041, allocations: 86.3 kB / 1.009 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/2.044, allocations: 1.504 MB / 1.011 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/2.044, allocations: 15.98 kB / 1.011 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/2.044, allocations: 0 / 1.011 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/2.044, allocations: 3.984 kB / 1.011 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005668/2.05, allocations: 2.51 MB / 1.013 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/2.05, allocations: 3.953 kB / 1.013 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008157/2.051, allocations: 187.7 kB / 1.013 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006139/2.057, allocations: 1.232 MB / 1.014 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001895/2.057, allocations: 27.97 kB / 1.014 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/2.059, allocations: 1.507 MB / 1.016 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/2.059, allocations: 0 / 1.016 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003996/2.063, allocations: 1.734 MB / 1.018 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/2.064, allocations: 275.8 kB / 1.018 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004049/2.065, allocations: 19.95 kB / 1.018 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/2.066, allocations: 127 kB / 1.018 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/2.066, allocations: 60.69 kB / 1.018 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/2.066, allocations: 43.95 kB / 1.018 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008977/2.067, allocations: 435.2 kB / 1.018 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.71e-07/2.067, allocations: 0 / 1.018 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004016/2.071, allocations: 0.7066 MB / 1.019 GB, free: 112.1 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 (64): * Single equations (assignments): 58 * 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.006051/2.077, allocations: 2.788 MB / 1.022 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004417/2.082, allocations: 1.668 MB / 1.024 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/2.082, allocations: 0 / 1.024 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/2.083, allocations: 0.5088 MB / 1.024 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/2.085, allocations: 363.4 kB / 1.024 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004479/2.09, allocations: 1.49 MB / 1.026 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/2.09, allocations: 0.9979 MB / 1.027 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001624/2.092, allocations: 298.5 kB / 1.027 GB, free: 104 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/2.093, allocations: 327.3 kB / 1.027 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.403e-06/2.093, allocations: 0 / 1.027 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06956/2.162, allocations: 36.94 MB / 1.063 GB, free: 67.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/2.162, allocations: 250.3 kB / 1.064 GB, free: 66.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.652/5.815, allocations: 0 / 1.064 GB, free: 66.68 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat