Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",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.00151/0.00151, allocations: 181.3 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.08/2.08, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001161/0.001161, allocations: 86.66 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.2997/0.2997, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.161e-05/4.177e-05, allocations: 7.984 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1377, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.338/8.476, allocations: 2.782 GB / 3.254 GB, free: 61.88 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/8.476, allocations: 89.47 kB / 3.255 GB, free: 61.83 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.423/10.9, allocations: 439.5 MB / 3.684 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.924e-06/10.9, allocations: 0 / 3.684 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.955e-05/10.9, allocations: 20 kB / 3.684 GB, free: 42.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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007699/10.91, allocations: 1.747 MB / 3.685 GB, free: 40.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/10.91, allocations: 8.031 kB / 3.685 GB, free: 40.85 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000268/10.91, allocations: 98.5 kB / 3.686 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003666/10.91, allocations: 329.5 kB / 3.686 GB, free: 40.42 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/10.91, allocations: 0.563 MB / 3.686 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/10.91, allocations: 52.44 kB / 3.686 GB, free: 39.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/10.91, allocations: 52.69 kB / 3.687 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/10.92, allocations: 0.9727 MB / 3.687 GB, free: 38.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/10.92, allocations: 11.89 kB / 3.688 GB, free: 38.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/10.92, allocations: 31.98 kB / 3.688 GB, free: 38.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/10.92, allocations: 21.31 kB / 3.688 GB, free: 38.63 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002789/10.92, allocations: 0.8052 MB / 3.688 GB, free: 37.82 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.007912/10.93, allocations: 4.473 MB / 3.693 GB, free: 32.97 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004541/10.93, allocations: 0.7088 MB / 3.693 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008862/10.93, allocations: 234.1 kB / 3.694 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6002/11.53, allocations: 55.72 MB / 3.748 GB, free: 48.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/11.53, allocations: 37.81 kB / 3.748 GB, free: 48.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.835e-06/11.53, allocations: 1.562 kB / 3.748 GB, free: 48.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.008244/11.54, allocations: 1.862 MB / 3.75 GB, free: 48.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/11.54, allocations: 108.6 kB / 3.75 GB, free: 48.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/11.54, allocations: 466.5 kB / 3.75 GB, free: 48.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001773/11.54, allocations: 35.23 kB / 3.75 GB, free: 48.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/11.54, allocations: 360.4 kB / 3.751 GB, free: 47.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/11.54, allocations: 176.5 kB / 3.751 GB, free: 47.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/11.54, allocations: 11.78 kB / 3.751 GB, free: 47.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.601e-05/11.54, allocations: 338.7 kB / 3.751 GB, free: 47.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005827/11.54, allocations: 186.6 kB / 3.752 GB, free: 47.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/11.54, allocations: 373.2 kB / 3.752 GB, free: 47.28 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/11.55, allocations: 227.8 kB / 3.752 GB, free: 47.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/11.55, allocations: 0.8438 kB / 3.752 GB, free: 47.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002703/11.55, allocations: 0.7787 MB / 3.753 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004465/11.55, allocations: 1.832 MB / 3.755 GB, free: 45.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/11.55, allocations: 7.406 kB / 3.755 GB, free: 45.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003176/11.55, allocations: 408.9 kB / 3.755 GB, free: 45.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/11.55, allocations: 127.8 kB / 3.755 GB, free: 45.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/11.55, allocations: 0.8788 MB / 3.756 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/11.56, allocations: 92.03 kB / 3.756 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/11.56, allocations: 38.12 kB / 3.756 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/11.56, allocations: 7.25 kB / 3.756 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002449/11.56, allocations: 0.6932 MB / 3.757 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/11.56, allocations: 5.938 kB / 3.757 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/11.56, allocations: 280.8 kB / 3.757 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/11.56, allocations: 138.7 kB / 3.757 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/11.56, allocations: 0.8223 MB / 3.758 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/11.57, allocations: 89.42 kB / 3.758 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-05/11.57, allocations: 35.03 kB / 3.758 GB, free: 44.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (54): * Single equations (assignments): 53 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003011/11.57, allocations: 143.5 kB / 3.758 GB, free: 44.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/11.57, allocations: 64.56 kB / 3.758 GB, free: 44.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00454/11.57, allocations: 2.668 MB / 3.761 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.935e-05/11.57, allocations: 36.59 kB / 3.761 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/11.57, allocations: 3.938 kB / 3.761 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/11.57, allocations: 7.594 kB / 3.761 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006011/11.58, allocations: 3.719 MB / 3.765 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/11.58, allocations: 0 / 3.765 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/11.58, allocations: 153.5 kB / 3.765 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005684/11.58, allocations: 94.45 kB / 3.765 GB, free: 43.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.114e-05/11.58, allocations: 18.53 kB / 3.765 GB, free: 43.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000881/11.58, allocations: 1.135 MB / 3.766 GB, free: 42.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/11.58, allocations: 0 / 3.766 GB, free: 42.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003858/11.58, allocations: 2.109 MB / 3.768 GB, free: 42.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008832/11.58, allocations: 366.1 kB / 3.768 GB, free: 41.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/11.58, allocations: 13.75 kB / 3.768 GB, free: 41.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/11.59, allocations: 77.52 kB / 3.768 GB, free: 41.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/11.59, allocations: 56.03 kB / 3.769 GB, free: 41.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.23e-05/11.59, allocations: 20.69 kB / 3.769 GB, free: 41.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001069/11.59, allocations: 0.5513 MB / 3.769 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/11.59, allocations: 0 / 3.769 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007147/11.59, allocations: 1.416 MB / 3.77 GB, free: 41.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * 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: 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 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01508/11.61, allocations: 4.283 MB / 3.775 GB, free: 40.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003898/11.61, allocations: 1.193 MB / 3.776 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/11.61, allocations: 2.875 kB / 3.776 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/11.61, allocations: 0.6772 MB / 3.776 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003323/11.62, allocations: 336.4 kB / 3.777 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008559/11.63, allocations: 2.456 MB / 3.779 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/11.63, allocations: 1.153 MB / 3.78 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008077/11.63, allocations: 454.4 kB / 3.781 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of SimCode: time 1.312e-06/11.63, allocations: 0 / 3.781 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.137/15.77, allocations: 45.29 MB / 3.825 GB, free: 36.15 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat