Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",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.002077/0.002077, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001145, allocations: 94.5 kB / 270.9 MB, free: 8.402 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5233/0.5233, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004853, allocations: 12 kB / 431.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1371, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.823/8.96, allocations: 2.782 GB / 3.26 GB, free: 29.14 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/8.96, allocations: 87.58 kB / 3.261 GB, free: 29.09 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.567/11.53, allocations: 440 MB / 3.69 GB, free: 56.89 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.435e-06/11.53, allocations: 0 / 3.69 GB, free: 56.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.85e-05/11.53, allocations: 21.52 kB / 3.69 GB, free: 56.89 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.009811/11.54, allocations: 1.83 MB / 3.692 GB, free: 56.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/11.54, allocations: 9.031 kB / 3.692 GB, free: 56.27 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003685/11.54, allocations: 100.7 kB / 3.692 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004001/11.54, allocations: 332.1 kB / 3.692 GB, free: 56.19 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/11.54, allocations: 0.5641 MB / 3.693 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-05/11.54, allocations: 50.72 kB / 3.693 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/11.54, allocations: 53.88 kB / 3.693 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004243/11.55, allocations: 1.007 MB / 3.694 GB, free: 55.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/11.55, allocations: 4.562 kB / 3.694 GB, free: 55.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/11.55, allocations: 25.88 kB / 3.694 GB, free: 55.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.559e-05/11.55, allocations: 24.81 kB / 3.694 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004455/11.55, allocations: 0.9026 MB / 3.695 GB, free: 55.75 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008706/11.56, allocations: 4.812 MB / 3.7 GB, free: 52.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/11.57, allocations: 0.6956 MB / 3.7 GB, free: 52.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07561/11.64, allocations: 24.07 MB / 3.724 GB, free: 37.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/11.64, allocations: 37.91 kB / 3.724 GB, free: 37.74 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 2.725e-06/11.64, allocations: 2.906 kB / 3.724 GB, free: 37.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.01033/11.65, allocations: 1.641 MB / 3.726 GB, free: 37.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/11.65, allocations: 109.1 kB / 3.726 GB, free: 37.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000969/11.65, allocations: 468.6 kB / 3.726 GB, free: 37.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001534/11.65, allocations: 31.17 kB / 3.726 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/11.65, allocations: 376.5 kB / 3.726 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/11.65, allocations: 145.5 kB / 3.727 GB, free: 37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/11.65, allocations: 10.47 kB / 3.727 GB, free: 37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.94e-05/11.65, allocations: 329.1 kB / 3.727 GB, free: 36.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/11.65, allocations: 243.2 kB / 3.727 GB, free: 36.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/11.66, allocations: 416.5 kB / 3.728 GB, free: 36.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/11.66, allocations: 278.6 kB / 3.728 GB, free: 36.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/11.66, allocations: 0.75 kB / 3.728 GB, free: 36.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003131/11.66, allocations: 0.7733 MB / 3.729 GB, free: 36.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004609/11.66, allocations: 2.009 MB / 3.731 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/11.66, allocations: 11.97 kB / 3.731 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/11.66, allocations: 290 kB / 3.731 GB, free: 34.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000959/11.66, allocations: 140.1 kB / 3.731 GB, free: 34.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/11.67, allocations: 0.7968 MB / 3.732 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/11.67, allocations: 122.7 kB / 3.732 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/11.67, allocations: 33.88 kB / 3.732 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/11.67, allocations: 2.781 kB / 3.732 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003965/11.67, allocations: 0.7703 MB / 3.733 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/11.67, allocations: 3.219 kB / 3.733 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001683/11.67, allocations: 187.9 kB / 3.733 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009936/11.67, allocations: 139.1 kB / 3.733 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/11.68, allocations: 0.7439 MB / 3.734 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/11.68, allocations: 106 kB / 3.734 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.182e-05/11.68, allocations: 28.56 kB / 3.734 GB, free: 33.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005933/11.68, allocations: 293.7 kB / 3.734 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/11.68, allocations: 59.09 kB / 3.734 GB, free: 32.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006001/11.68, allocations: 3.012 MB / 3.737 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.764e-05/11.68, allocations: 46.11 kB / 3.737 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/11.68, allocations: 6.312 kB / 3.737 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/11.68, allocations: 3.047 kB / 3.737 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/11.69, allocations: 1.451 MB / 3.739 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/11.69, allocations: 3.938 kB / 3.739 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006796/11.69, allocations: 93.06 kB / 3.739 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00345/11.69, allocations: 1.061 MB / 3.74 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/11.69, allocations: 15.62 kB / 3.74 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/11.69, allocations: 1.437 MB / 3.741 GB, free: 31.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/11.69, allocations: 3.953 kB / 3.741 GB, free: 31.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004821/11.7, allocations: 2.022 MB / 3.743 GB, free: 31.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008518/11.7, allocations: 322.6 kB / 3.743 GB, free: 31.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/11.7, allocations: 17.41 kB / 3.743 GB, free: 31.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/11.7, allocations: 88.7 kB / 3.743 GB, free: 31.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/11.7, allocations: 48.17 kB / 3.744 GB, free: 31.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.17e-05/11.7, allocations: 21.08 kB / 3.744 GB, free: 31.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009718/11.7, allocations: 467.6 kB / 3.744 GB, free: 31.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.82e-07/11.7, allocations: 0 / 3.744 GB, free: 31.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007698/11.71, allocations: 1.419 MB / 3.745 GB, free: 30.97 MB / 0.5105 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,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01643/11.73, allocations: 3.963 MB / 3.749 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004999/11.73, allocations: 1.316 MB / 3.751 GB, free: 29.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/11.73, allocations: 3.062 kB / 3.751 GB, free: 29.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/11.73, allocations: 0.7972 MB / 3.751 GB, free: 29.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/11.74, allocations: 310.7 kB / 3.752 GB, free: 29.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/11.75, allocations: 7.257 MB / 3.759 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/11.75, allocations: 1.155 MB / 3.76 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007627/11.75, allocations: 410.1 kB / 3.76 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of SimCode: time 1.342e-06/11.75, allocations: 0 / 3.76 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.227/15.98, allocations: 41.04 MB / 3.8 GB, free: 20.75 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat