Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002058/0.002058, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001087, allocations: 90.8 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2971/0.2971, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.458e-05/2.477e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4175, allocations: 58.84 MB / 477.2 MB, free: 5.199 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8346/1.252, allocations: 320.3 MB / 0.7788 GB, free: 15.95 MB / 475.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/1.253, allocations: 90.19 kB / 0.7789 GB, free: 15.9 MB / 475.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.888/2.141, allocations: 164.1 MB / 0.9391 GB, free: 94.95 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.493e-06/2.141, allocations: 0 / 0.9391 GB, free: 94.95 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 6.904e-05/2.141, allocations: 20 kB / 0.9391 GB, free: 94.93 MB / 0.4952 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.003491/2.144, allocations: 1.053 MB / 0.9402 GB, free: 93.84 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/2.144, allocations: 12.03 kB / 0.9402 GB, free: 93.82 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004876/2.145, allocations: 95.81 kB / 0.9403 GB, free: 93.73 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/2.146, allocations: 0.6125 MB / 0.9409 GB, free: 93.09 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/2.146, allocations: 16 kB / 0.9409 GB, free: 93.07 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/2.146, allocations: 28 kB / 0.9409 GB, free: 93.05 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001495/2.148, allocations: 0.6312 MB / 0.9415 GB, free: 92.41 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/2.149, allocations: 0.6593 MB / 0.9422 GB, free: 91.7 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/2.149, allocations: 0 / 0.9422 GB, free: 91.7 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-05/2.15, allocations: 4 kB / 0.9422 GB, free: 91.7 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/2.15, allocations: 25.23 kB / 0.9422 GB, free: 91.67 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00589/2.155, allocations: 3.188 MB / 0.9453 GB, free: 88.36 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/2.157, allocations: 384.5 kB / 0.9457 GB, free: 87.98 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006322/2.157, allocations: 253.5 kB / 0.9459 GB, free: 87.73 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004041/2.158, allocations: 0.5679 MB / 0.9465 GB, free: 87.04 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/2.158, allocations: 42.56 kB / 0.9465 GB, free: 86.99 MB / 0.4952 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001076/2.159, allocations: 115.3 kB / 0.9466 GB, free: 86.88 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=45): time 3.547e-06/2.159, allocations: 0 / 0.9466 GB, free: 86.88 MB / 0.4952 GB Notification: Performance of matching and sorting (n=63): time 0.05487/2.214, allocations: 4.973 MB / 0.9515 GB, free: 81.79 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/2.214, allocations: 111.4 kB / 0.9516 GB, free: 81.66 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008111/2.215, allocations: 455.4 kB / 0.952 GB, free: 81.21 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0002349/2.215, allocations: 25.7 kB / 0.952 GB, free: 81.18 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/2.215, allocations: 394.2 kB / 0.9524 GB, free: 80.79 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/2.215, allocations: 208.9 kB / 0.9526 GB, free: 80.58 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.364e-05/2.215, allocations: 0 / 0.9526 GB, free: 80.58 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/2.216, allocations: 342.8 kB / 0.953 GB, free: 80.24 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007145/2.216, allocations: 277.5 kB / 0.9532 GB, free: 79.96 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007984/2.217, allocations: 468.1 kB / 0.9537 GB, free: 79.43 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005033/2.222, allocations: 0.6539 MB / 0.9543 GB, free: 78.78 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/2.222, allocations: 4 kB / 0.9543 GB, free: 78.77 MB / 0.4952 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.007325/2.23, allocations: 1.292 MB / 0.9556 GB, free: 77.47 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004897/2.23, allocations: 2.013 MB / 0.9575 GB, free: 75.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/2.23, allocations: 8 kB / 0.9575 GB, free: 75.29 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007685/2.238, allocations: 0.7273 MB / 0.9583 GB, free: 74.55 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/2.239, allocations: 203.7 kB / 0.9584 GB, free: 74.36 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006692/2.246, allocations: 1.893 MB / 0.9603 GB, free: 72.41 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/2.248, allocations: 99.81 kB / 0.9604 GB, free: 72.31 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/2.249, allocations: 59.95 kB / 0.9604 GB, free: 72.25 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/2.249, allocations: 4 kB / 0.9604 GB, free: 72.25 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007058/2.256, allocations: 1.069 MB / 0.9615 GB, free: 71.18 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/2.256, allocations: 11.94 kB / 0.9615 GB, free: 71.17 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/2.258, allocations: 261.5 kB / 0.9618 GB, free: 70.91 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/2.26, allocations: 215.7 kB / 0.962 GB, free: 70.7 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/2.271, allocations: 4.576 MB / 0.9664 GB, free: 65.86 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/2.273, allocations: 75.98 kB / 0.9665 GB, free: 65.78 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/2.273, allocations: 43.97 kB / 0.9665 GB, free: 65.74 MB / 0.4952 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.0004719/2.274, allocations: 128.7 kB / 0.9667 GB, free: 65.61 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006895/2.281, allocations: 1.186 MB / 0.9678 GB, free: 64.41 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/2.281, allocations: 71.16 kB / 0.9679 GB, free: 64.34 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005844/2.287, allocations: 1.383 MB / 0.9692 GB, free: 62.93 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/2.287, allocations: 11.98 kB / 0.9693 GB, free: 62.92 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/2.287, allocations: 0 / 0.9693 GB, free: 62.92 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/2.287, allocations: 8.047 kB / 0.9693 GB, free: 62.91 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008028/2.295, allocations: 2.182 MB / 0.9714 GB, free: 60.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/2.295, allocations: 0 / 0.9714 GB, free: 60.7 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/2.296, allocations: 155.8 kB / 0.9715 GB, free: 60.54 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003239/2.299, allocations: 0.4917 MB / 0.972 GB, free: 60.05 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/2.299, allocations: 15.98 kB / 0.972 GB, free: 60.04 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/2.302, allocations: 1.605 MB / 0.9736 GB, free: 58.38 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/2.302, allocations: 4 kB / 0.9736 GB, free: 58.38 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005948/2.308, allocations: 1.596 MB / 0.9752 GB, free: 56.76 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007122/2.309, allocations: 251.9 kB / 0.9754 GB, free: 56.49 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/2.309, allocations: 0 / 0.9754 GB, free: 56.49 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/2.31, allocations: 79.97 kB / 0.9755 GB, free: 56.41 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/2.311, allocations: 60.69 kB / 0.9755 GB, free: 56.36 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/2.311, allocations: 39.97 kB / 0.9756 GB, free: 56.32 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0005638/2.311, allocations: 351.2 kB / 0.9759 GB, free: 55.98 MB / 0.4952 GB Notification: Performance of sort global known variables: time 5.11e-07/2.311, allocations: 0 / 0.9759 GB, free: 55.98 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002993/2.314, allocations: 0.6402 MB / 0.9765 GB, free: 55.34 MB / 0.4952 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.00825/2.323, allocations: 2.607 MB / 0.9791 GB, free: 52.74 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.006635/2.329, allocations: 1.423 MB / 0.9805 GB, free: 51.29 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/2.329, allocations: 8.25 kB / 0.9805 GB, free: 51.29 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/2.331, allocations: 414.7 kB / 0.9809 GB, free: 50.88 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/2.333, allocations: 297.7 kB / 0.9812 GB, free: 50.6 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/2.338, allocations: 1.35 MB / 0.9825 GB, free: 49.2 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/2.338, allocations: 0.9804 MB / 0.9834 GB, free: 48.19 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007268/2.339, allocations: 315.3 kB / 0.9837 GB, free: 47.88 MB / 0.4952 GB Notification: Performance of SimCode: time 1.413e-06/2.339, allocations: 0 / 0.9837 GB, free: 47.88 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.64/5.979, allocations: 26.16 MB / 1.009 GB, free: 21.71 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat