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.002227/0.002227, allocations: 181.2 kB / 13.66 MB, free: 1.664 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.126/2.126, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001091/0.001091, allocations: 94.67 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2922/0.2922, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.213e-05/6.234e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1302, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.455/8.585, allocations: 2.782 GB / 3.255 GB, free: 61.77 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/8.586, allocations: 89.56 kB / 3.255 GB, free: 61.72 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.213/10.8, allocations: 439.9 MB / 3.685 GB, free: 42.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.984e-06/10.8, allocations: 0 / 3.685 GB, free: 42.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.816e-05/10.8, allocations: 20 kB / 3.685 GB, free: 42.05 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.007886/10.81, allocations: 1.778 MB / 3.686 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/10.81, allocations: 8.031 kB / 3.686 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000255/10.81, allocations: 106.5 kB / 3.686 GB, free: 40.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003668/10.81, allocations: 324.5 kB / 3.687 GB, free: 39.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/10.81, allocations: 0.5808 MB / 3.687 GB, free: 39.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.706e-05/10.81, allocations: 53.25 kB / 3.687 GB, free: 39.13 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/10.81, allocations: 58.56 kB / 3.687 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003519/10.82, allocations: 0.993 MB / 3.688 GB, free: 38.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/10.82, allocations: 3.938 kB / 3.688 GB, free: 38.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/10.82, allocations: 28 kB / 3.688 GB, free: 37.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/10.82, allocations: 21.31 kB / 3.688 GB, free: 37.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003262/10.82, allocations: 0.8286 MB / 3.689 GB, free: 37.14 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.008946/10.83, allocations: 4.851 MB / 3.694 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003247/10.83, allocations: 0.7517 MB / 3.695 GB, free: 31.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005541/10.83, allocations: 238.1 kB / 3.695 GB, free: 30.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1047/10.94, allocations: 24.17 MB / 3.719 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/10.94, allocations: 39 kB / 3.719 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 6.492e-06/10.94, allocations: 0 / 3.719 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.008215/10.95, allocations: 1.074 MB / 3.72 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/10.95, allocations: 107.2 kB / 3.72 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/10.95, allocations: 468.8 kB / 3.72 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001947/10.95, allocations: 37.64 kB / 3.72 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/10.95, allocations: 382.2 kB / 3.721 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/10.95, allocations: 161.7 kB / 3.721 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/10.95, allocations: 8 kB / 3.721 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001095/10.95, allocations: 342.8 kB / 3.721 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008325/10.95, allocations: 185.5 kB / 3.721 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009559/10.95, allocations: 361.7 kB / 3.722 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009417/10.95, allocations: 233.5 kB / 3.722 GB, free: 388 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/10.95, allocations: 4 kB / 3.722 GB, free: 384 kB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.4345/11.39, allocations: 0.6769 MB / 3.722 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004525/11.39, allocations: 2.007 MB / 3.724 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/11.39, allocations: 8.25 kB / 3.724 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004219/11.39, allocations: 435.9 kB / 3.725 GB, free: 63.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/11.39, allocations: 146.5 kB / 3.725 GB, free: 63.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/11.39, allocations: 0.8051 MB / 3.726 GB, free: 62.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/11.39, allocations: 126.2 kB / 3.726 GB, free: 62.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/11.4, allocations: 38.41 kB / 3.726 GB, free: 62.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/11.4, allocations: 9.969 kB / 3.726 GB, free: 62.97 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002414/11.4, allocations: 0.6504 MB / 3.727 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/11.4, allocations: 10.34 kB / 3.727 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/11.4, allocations: 160.9 kB / 3.727 GB, free: 62.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/11.4, allocations: 160.6 kB / 3.727 GB, free: 62.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/11.4, allocations: 0.7107 MB / 3.728 GB, free: 62.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/11.4, allocations: 115.3 kB / 3.728 GB, free: 62.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.048e-05/11.4, allocations: 32.22 kB / 3.728 GB, free: 62.43 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 () * 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.0003175/11.4, allocations: 144.1 kB / 3.728 GB, free: 62.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/11.4, allocations: 67.64 kB / 3.728 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005081/11.41, allocations: 3.049 MB / 3.731 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.86e-05/11.41, allocations: 43.31 kB / 3.731 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/11.41, allocations: 7 kB / 3.731 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/11.41, allocations: 3.75 kB / 3.731 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/11.41, allocations: 1.479 MB / 3.732 GB, free: 61.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/11.41, allocations: 0 / 3.732 GB, free: 61.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007425/11.41, allocations: 92.09 kB / 3.732 GB, free: 61.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005569/11.42, allocations: 1.399 MB / 3.734 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/11.42, allocations: 17.03 kB / 3.734 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/11.42, allocations: 1.532 MB / 3.735 GB, free: 61.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/11.42, allocations: 1.375 kB / 3.735 GB, free: 61.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003986/11.42, allocations: 2.021 MB / 3.737 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00087/11.43, allocations: 339.4 kB / 3.738 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/11.43, allocations: 10.81 kB / 3.738 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/11.43, allocations: 81.97 kB / 3.738 GB, free: 60.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/11.43, allocations: 54.2 kB / 3.738 GB, free: 60.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.845e-05/11.43, allocations: 22.41 kB / 3.738 GB, free: 60.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001155/11.43, allocations: 470.8 kB / 3.738 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/11.43, allocations: 1.188 kB / 3.738 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007424/11.44, allocations: 1.434 MB / 3.74 GB, free: 60.6 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 () * 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.01541/11.45, allocations: 3.874 MB / 3.743 GB, free: 59.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004261/11.46, allocations: 1.201 MB / 3.745 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/11.46, allocations: 4.781 kB / 3.745 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/11.46, allocations: 0.7403 MB / 3.745 GB, free: 59.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/11.46, allocations: 319.7 kB / 3.746 GB, free: 59.72 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008665/11.47, allocations: 2.401 MB / 3.748 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008139/11.47, allocations: 1.16 MB / 3.749 GB, free: 58.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007813/11.47, allocations: 425.2 kB / 3.75 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.012e-06/11.47, allocations: 0 / 3.75 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.992/15.46, allocations: 42.75 MB / 3.791 GB, free: 56 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