Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",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.001576/0.001576, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.082/2.082, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001199/0.001198, allocations: 95.39 kB / 270.9 MB, free: 8.375 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.5262/0.5262, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004842, allocations: 16 kB / 431.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1361, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.835/8.971, allocations: 2.782 GB / 3.261 GB, free: 24.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/8.971, allocations: 92.56 kB / 3.261 GB, free: 24.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.631/11.6, allocations: 441.1 MB / 3.692 GB, free: 56.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.084e-06/11.6, allocations: 1.312 kB / 3.692 GB, free: 56.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.404e-05/11.6, allocations: 25.55 kB / 3.692 GB, free: 56.64 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.008572/11.61, allocations: 1.868 MB / 3.694 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/11.61, allocations: 11.48 kB / 3.694 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002365/11.61, allocations: 99.89 kB / 3.694 GB, free: 55.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003554/11.61, allocations: 335 kB / 3.694 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/11.62, allocations: 0.5811 MB / 3.695 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.91e-05/11.62, allocations: 51.78 kB / 3.695 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/11.62, allocations: 58.44 kB / 3.695 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/11.62, allocations: 1.019 MB / 3.696 GB, free: 55.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/11.62, allocations: 1.5 kB / 3.696 GB, free: 55.44 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/11.62, allocations: 29.06 kB / 3.696 GB, free: 55.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-05/11.62, allocations: 28.19 kB / 3.696 GB, free: 55.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00387/11.62, allocations: 0.9294 MB / 3.697 GB, free: 55.44 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.007791/11.63, allocations: 4.849 MB / 3.701 GB, free: 52.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004308/11.64, allocations: 0.8247 MB / 3.702 GB, free: 52.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07218/11.71, allocations: 24.08 MB / 3.726 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/11.71, allocations: 39.92 kB / 3.726 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 3.707e-06/11.71, allocations: 0 / 3.726 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.01194/11.72, allocations: 1.87 MB / 3.728 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/11.72, allocations: 113.4 kB / 3.728 GB, free: 37.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/11.72, allocations: 476 kB / 3.728 GB, free: 37.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/11.72, allocations: 34.23 kB / 3.728 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/11.72, allocations: 377 kB / 3.729 GB, free: 36.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/11.72, allocations: 164 kB / 3.729 GB, free: 36.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/11.72, allocations: 15.58 kB / 3.729 GB, free: 36.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.02e-05/11.72, allocations: 341.5 kB / 3.729 GB, free: 36.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/11.72, allocations: 265.5 kB / 3.729 GB, free: 36.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/11.72, allocations: 446.2 kB / 3.73 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/11.73, allocations: 303.3 kB / 3.73 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/11.73, allocations: 3.188 kB / 3.73 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003311/11.73, allocations: 0.8567 MB / 3.731 GB, free: 36.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004994/11.73, allocations: 2.01 MB / 3.733 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/11.73, allocations: 8.719 kB / 3.733 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004352/11.73, allocations: 474 kB / 3.733 GB, free: 34.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/11.74, allocations: 143.9 kB / 3.733 GB, free: 34.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/11.74, allocations: 0.8517 MB / 3.734 GB, free: 33.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/11.74, allocations: 131.6 kB / 3.734 GB, free: 33.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/11.74, allocations: 39.72 kB / 3.734 GB, free: 33.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/11.74, allocations: 2.656 kB / 3.734 GB, free: 33.51 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003763/11.74, allocations: 0.8287 MB / 3.735 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/11.74, allocations: 6.969 kB / 3.735 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/11.74, allocations: 191 kB / 3.735 GB, free: 33.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/11.75, allocations: 161.3 kB / 3.736 GB, free: 33.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/11.75, allocations: 0.7517 MB / 3.736 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/11.75, allocations: 108.1 kB / 3.736 GB, free: 32.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.755e-05/11.75, allocations: 34.98 kB / 3.736 GB, free: 32.95 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 (59): * Single equations (assignments): 58 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006242/11.75, allocations: 298.8 kB / 3.737 GB, free: 32.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/11.75, allocations: 67.53 kB / 3.737 GB, free: 32.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006004/11.76, allocations: 3.076 MB / 3.74 GB, free: 32.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.858e-05/11.76, allocations: 44.61 kB / 3.74 GB, free: 32.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/11.76, allocations: 1.062 kB / 3.74 GB, free: 32.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/11.76, allocations: 3.656 kB / 3.74 GB, free: 32.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/11.76, allocations: 1.485 MB / 3.741 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/11.76, allocations: 0.7188 kB / 3.741 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007229/11.76, allocations: 87.27 kB / 3.741 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005312/11.77, allocations: 1.244 MB / 3.743 GB, free: 32.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/11.77, allocations: 18.61 kB / 3.743 GB, free: 32.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002473/11.77, allocations: 1.5 MB / 3.744 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/11.77, allocations: 0 / 3.744 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004706/11.77, allocations: 2.082 MB / 3.746 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007767/11.77, allocations: 334 kB / 3.746 GB, free: 31.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/11.77, allocations: 13.39 kB / 3.746 GB, free: 31.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/11.77, allocations: 83.48 kB / 3.747 GB, free: 31.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/11.77, allocations: 53.78 kB / 3.747 GB, free: 31.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.215e-05/11.77, allocations: 22.97 kB / 3.747 GB, free: 31.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001007/11.78, allocations: 481.4 kB / 3.747 GB, free: 30.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/11.78, allocations: 0 / 3.747 GB, free: 30.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007531/11.78, allocations: 1.436 MB / 3.748 GB, free: 30.7 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,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0156/11.8, allocations: 4.019 MB / 3.752 GB, free: 29.67 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006086/11.81, allocations: 1.422 MB / 3.754 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/11.81, allocations: 2.031 kB / 3.754 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001863/11.81, allocations: 0.8095 MB / 3.755 GB, free: 29.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/11.81, allocations: 330.6 kB / 3.755 GB, free: 29.63 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/11.82, allocations: 7.296 MB / 3.762 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006786/11.82, allocations: 1.167 MB / 3.763 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007889/11.82, allocations: 422 kB / 3.764 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/11.82, allocations: 0 / 3.764 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.131/15.95, allocations: 41.59 MB / 3.804 GB, free: 20.2 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat