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.002017/0.002017, allocations: 177 kB / 17.06 MB, free: 5.094 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.532/1.532, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 99.25 kB / 292.1 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4125/0.4125, allocations: 44.21 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004149, allocations: 12 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4497, allocations: 61.9 MB / 0.5096 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6854/1.135, allocations: 322.5 MB / 0.8246 GB, free: 6.93 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/1.135, allocations: 95.42 kB / 0.8247 GB, free: 6.883 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6521/1.788, allocations: 169.2 MB / 0.9899 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.734e-06/1.788, allocations: 0 / 0.9899 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.574e-05/1.788, allocations: 19.98 kB / 0.9899 GB, free: 109.8 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.002674/1.79, allocations: 1.147 MB / 0.991 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.79, allocations: 8.562 kB / 0.991 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/1.79, allocations: 98.45 kB / 0.9911 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003145/1.791, allocations: 98.95 kB / 0.9912 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009818/1.792, allocations: 0.6176 MB / 0.9918 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/1.792, allocations: 45.27 kB / 0.9919 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.816e-05/1.792, allocations: 48 kB / 0.9919 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/1.793, allocations: 0.8406 MB / 0.9927 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/1.793, allocations: 0 / 0.9927 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.106e-05/1.793, allocations: 28 kB / 0.9928 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/1.793, allocations: 21 kB / 0.9928 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/1.795, allocations: 0.7923 MB / 0.9936 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/1.799, allocations: 3.289 MB / 0.9968 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/1.8, allocations: 0.4946 MB / 0.9973 GB, free: 102 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003317/1.8, allocations: 0.5665 MB / 0.9978 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/1.8, allocations: 40.38 kB / 0.9978 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006475/1.801, allocations: 135.3 kB / 0.998 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 2.795e-06/1.801, allocations: 0 / 0.998 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.0412/1.842, allocations: 7.587 MB / 1.005 GB, free: 93.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/1.842, allocations: 111.5 kB / 1.005 GB, free: 93.22 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006989/1.843, allocations: 0.5465 MB / 1.006 GB, free: 92.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/1.843, allocations: 41.7 kB / 1.006 GB, free: 92.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/1.843, allocations: 356.2 kB / 1.006 GB, free: 92.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/1.843, allocations: 244.3 kB / 1.007 GB, free: 92.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/1.843, allocations: 20 kB / 1.007 GB, free: 92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.843, allocations: 390.7 kB / 1.007 GB, free: 91.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/1.845, allocations: 0.4938 MB / 1.008 GB, free: 91.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/1.846, allocations: 0.6833 MB / 1.008 GB, free: 90.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/1.847, allocations: 0.5497 MB / 1.009 GB, free: 89.81 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.847, allocations: 0 / 1.009 GB, free: 89.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003299/1.85, allocations: 1.509 MB / 1.01 GB, free: 88.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006413/1.851, allocations: 2.009 MB / 1.012 GB, free: 86.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.851, allocations: 8 kB / 1.012 GB, free: 86.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006831/1.858, allocations: 1.225 MB / 1.013 GB, free: 84.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/1.859, allocations: 247.6 kB / 1.014 GB, free: 84.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/1.862, allocations: 1.644 MB / 1.015 GB, free: 82.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/1.863, allocations: 127.8 kB / 1.015 GB, free: 82.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/1.864, allocations: 59.94 kB / 1.015 GB, free: 82.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.864, allocations: 4 kB / 1.015 GB, free: 82.76 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003943/1.867, allocations: 1.426 MB / 1.017 GB, free: 81.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/1.868, allocations: 4 kB / 1.017 GB, free: 81.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002085/1.87, allocations: 445.3 kB / 1.017 GB, free: 80.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/1.871, allocations: 259.6 kB / 1.017 GB, free: 80.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/1.874, allocations: 2.743 MB / 1.02 GB, free: 77.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.875, allocations: 123.9 kB / 1.02 GB, free: 77.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/1.876, allocations: 55.94 kB / 1.02 GB, free: 77.55 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 () * Number of clocked 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.0005912/1.876, allocations: 300.8 kB / 1.021 GB, free: 77.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/1.876, allocations: 82.97 kB / 1.021 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004375/1.881, allocations: 1.852 MB / 1.022 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/1.881, allocations: 16 kB / 1.022 GB, free: 75.28 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/1.881, allocations: 0 / 1.022 GB, free: 75.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/1.881, allocations: 3.984 kB / 1.022 GB, free: 75.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006326/1.887, allocations: 2.854 MB / 1.025 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/1.887, allocations: 4 kB / 1.025 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008012/1.888, allocations: 175.8 kB / 1.025 GB, free: 72.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006284/1.894, allocations: 1.284 MB / 1.027 GB, free: 70.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/1.895, allocations: 27.97 kB / 1.027 GB, free: 70.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/1.896, allocations: 1.581 MB / 1.028 GB, free: 69.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.896, allocations: 7.922 kB / 1.028 GB, free: 69.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005047/1.901, allocations: 2.271 MB / 1.03 GB, free: 66.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006397/1.902, allocations: 279.7 kB / 1.031 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/1.902, allocations: 16 kB / 1.031 GB, free: 66.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.903, allocations: 112 kB / 1.031 GB, free: 66.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/1.903, allocations: 68.89 kB / 1.031 GB, free: 66.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/1.903, allocations: 39.97 kB / 1.031 GB, free: 66.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005745/1.904, allocations: 443 kB / 1.031 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/1.904, allocations: 0 / 1.031 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002646/1.907, allocations: 0.7026 MB / 1.032 GB, free: 65.28 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * 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 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.006884/1.914, allocations: 3.319 MB / 1.035 GB, free: 61.94 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005725/1.919, allocations: 2.152 MB / 1.037 GB, free: 59.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.919, allocations: 0 / 1.037 GB, free: 59.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/1.921, allocations: 0.6808 MB / 1.038 GB, free: 59.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/1.923, allocations: 365.1 kB / 1.038 GB, free: 58.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/1.928, allocations: 6.057 MB / 1.044 GB, free: 52.53 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/1.929, allocations: 0.9931 MB / 1.045 GB, free: 51.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001247/1.93, allocations: 262.4 kB / 1.046 GB, free: 51.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005241/1.93, allocations: 343.2 kB / 1.046 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/1.93, allocations: 0 / 1.046 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05871/1.989, allocations: 35.39 MB / 1.08 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/1.989, allocations: 280.8 kB / 1.081 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.45/5.439, allocations: 3.656 kB / 1.081 GB, free: 15.57 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