Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",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.001575/0.001575, 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 1.979/1.979, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001165/0.001164, allocations: 96.36 kB / 270.9 MB, free: 8.387 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.5327/0.5327, allocations: 43.54 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004862, allocations: 19.98 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1392, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.765/8.904, allocations: 2.765 GB / 3.244 GB, free: 47.3 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/8.904, allocations: 93.34 kB / 3.244 GB, free: 47.25 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.121/11.03, allocations: 421.4 MB / 3.655 GB, free: 18.39 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.725e-06/11.03, allocations: 0 / 3.655 GB, free: 18.39 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 6.528e-05/11.03, allocations: 16 kB / 3.655 GB, free: 18.37 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.008398/11.03, allocations: 1.718 MB / 3.657 GB, free: 16.61 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/11.03, allocations: 16.02 kB / 3.657 GB, free: 16.6 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00035/11.03, allocations: 102.5 kB / 3.657 GB, free: 16.49 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003526/11.04, allocations: 304 kB / 3.657 GB, free: 16.19 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/11.04, allocations: 0.5297 MB / 3.658 GB, free: 15.63 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.513e-05/11.04, allocations: 49.31 kB / 3.658 GB, free: 15.58 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/11.04, allocations: 55.98 kB / 3.658 GB, free: 15.53 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003953/11.04, allocations: 0.9734 MB / 3.659 GB, free: 14.49 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/11.04, allocations: 0 / 3.659 GB, free: 14.49 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/11.04, allocations: 24 kB / 3.659 GB, free: 14.47 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/11.04, allocations: 21 kB / 3.659 GB, free: 14.45 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004241/11.05, allocations: 0.8702 MB / 3.66 GB, free: 13.58 MB / 0.4949 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.007874/11.06, allocations: 4.641 MB / 3.664 GB, free: 8.551 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/11.06, allocations: 0.7554 MB / 3.665 GB, free: 7.789 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4754/11.54, allocations: 24.08 MB / 3.689 GB, free: 61.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/11.54, allocations: 39.08 kB / 3.689 GB, free: 61.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 3.737e-06/11.54, allocations: 0 / 3.689 GB, free: 61.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.01099/11.55, allocations: 1.604 MB / 3.69 GB, free: 61.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/11.55, allocations: 115.9 kB / 3.69 GB, free: 61.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/11.55, allocations: 408.3 kB / 3.691 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/11.55, allocations: 36.36 kB / 3.691 GB, free: 61.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/11.55, allocations: 350.3 kB / 3.691 GB, free: 61.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/11.55, allocations: 149.8 kB / 3.691 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/11.55, allocations: 11.03 kB / 3.691 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/11.55, allocations: 328.7 kB / 3.691 GB, free: 60.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/11.55, allocations: 225.9 kB / 3.692 GB, free: 60.65 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/11.55, allocations: 389.7 kB / 3.692 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/11.55, allocations: 262.4 kB / 3.692 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/11.55, allocations: 1.969 kB / 3.692 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003908/11.56, allocations: 0.7666 MB / 3.693 GB, free: 60.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006454/11.56, allocations: 1.923 MB / 3.695 GB, free: 58.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/11.56, allocations: 9.281 kB / 3.695 GB, free: 58.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/11.56, allocations: 211.4 kB / 3.695 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009127/11.56, allocations: 118.7 kB / 3.695 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/11.56, allocations: 0.7724 MB / 3.696 GB, free: 57.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/11.56, allocations: 110.5 kB / 3.696 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.997e-05/11.56, allocations: 31.67 kB / 3.696 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/11.56, allocations: 4.562 kB / 3.696 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003378/11.57, allocations: 0.7153 MB / 3.697 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/11.57, allocations: 5.156 kB / 3.697 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/11.57, allocations: 182.2 kB / 3.697 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000916/11.57, allocations: 124 kB / 3.697 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/11.57, allocations: 0.7453 MB / 3.698 GB, free: 57.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009843/11.57, allocations: 95.14 kB / 3.698 GB, free: 57.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/11.57, allocations: 30.83 kB / 3.698 GB, free: 57.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (53): * Single equations (assignments): 52 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005894/11.57, allocations: 281.3 kB / 3.698 GB, free: 57.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/11.57, allocations: 52.66 kB / 3.698 GB, free: 57.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005865/11.58, allocations: 2.927 MB / 3.701 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.569e-05/11.58, allocations: 40.17 kB / 3.701 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/11.58, allocations: 5.484 kB / 3.701 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/11.58, allocations: 3.094 kB / 3.701 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/11.58, allocations: 1.414 MB / 3.703 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/11.58, allocations: 0 / 3.703 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008224/11.58, allocations: 95.78 kB / 3.703 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002014/11.59, allocations: 0.66 MB / 3.703 GB, free: 56.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.28e-05/11.59, allocations: 13.81 kB / 3.703 GB, free: 56.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/11.59, allocations: 1.215 MB / 3.705 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/11.59, allocations: 0 / 3.705 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004285/11.59, allocations: 1.869 MB / 3.706 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007315/11.59, allocations: 319.1 kB / 3.707 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/11.59, allocations: 13.17 kB / 3.707 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009385/11.59, allocations: 78.61 kB / 3.707 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/11.59, allocations: 48.73 kB / 3.707 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.617e-05/11.59, allocations: 20.41 kB / 3.707 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008343/11.6, allocations: 423.4 kB / 3.707 GB, free: 55.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.9e-07/11.6, allocations: 5.906 kB / 3.707 GB, free: 55.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006806/11.6, allocations: 1.35 MB / 3.709 GB, free: 55.46 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (42): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01486/11.62, allocations: 3.841 MB / 3.712 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004649/11.62, allocations: 1.302 MB / 3.714 GB, free: 54.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/11.62, allocations: 0 / 3.714 GB, free: 54.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/11.62, allocations: 0.7795 MB / 3.714 GB, free: 54.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/11.63, allocations: 294 kB / 3.715 GB, free: 54.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/11.64, allocations: 8.743 MB / 3.723 GB, free: 49.47 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/11.64, allocations: 1.138 MB / 3.724 GB, free: 48.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007309/11.64, allocations: 393.3 kB / 3.725 GB, free: 48.76 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/11.64, allocations: 0 / 3.725 GB, free: 48.76 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.92/15.56, allocations: 39.85 MB / 3.764 GB, free: 46.29 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat