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.003079/0.003079, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 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.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 84.2 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3009/0.3009, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.359e-05/2.369e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4308, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.378/8.809, allocations: 2.781 GB / 3.247 GB, free: 6.539 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/8.81, allocations: 84.08 kB / 3.247 GB, free: 6.496 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.563/11.37, allocations: 435.2 MB / 3.672 GB, free: 57.45 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.804e-06/11.37, allocations: 0 / 3.672 GB, free: 57.45 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 7.063e-05/11.37, allocations: 21.3 kB / 3.672 GB, free: 57.45 MB / 0.4952 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.008148/11.38, allocations: 1.759 MB / 3.674 GB, free: 56.74 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/11.38, allocations: 9.562 kB / 3.674 GB, free: 56.74 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/11.38, allocations: 331.8 kB / 3.674 GB, free: 56.7 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/11.39, allocations: 0.5725 MB / 3.675 GB, free: 56.46 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/11.39, allocations: 22.31 kB / 3.675 GB, free: 56.46 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/11.39, allocations: 30.25 kB / 3.675 GB, free: 56.46 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001416/11.39, allocations: 0.5434 MB / 3.675 GB, free: 56.46 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/11.39, allocations: 0.6639 MB / 3.676 GB, free: 56.27 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/11.39, allocations: 0 / 3.676 GB, free: 56.27 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-05/11.39, allocations: 7.828 kB / 3.676 GB, free: 56.27 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/11.39, allocations: 19.97 kB / 3.676 GB, free: 56.27 MB / 0.4952 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.05593/11.45, allocations: 19.55 MB / 3.695 GB, free: 44.2 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/11.45, allocations: 416.9 kB / 3.695 GB, free: 44.18 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/11.45, allocations: 214.2 kB / 3.696 GB, free: 44.17 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.151/11.6, allocations: 48.14 MB / 3.743 GB, free: 30.07 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/11.6, allocations: 39.38 kB / 3.743 GB, free: 30.04 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=46): time 2.524e-06/11.6, allocations: 0 / 3.743 GB, free: 30.04 MB / 0.5108 GB Notification: Performance of matching and sorting (n=50): time 0.00983/11.61, allocations: 1.828 MB / 3.744 GB, free: 29.64 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/11.61, allocations: 111 kB / 3.745 GB, free: 29.51 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006938/11.61, allocations: 379.8 kB / 3.745 GB, free: 29.39 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001765/11.61, allocations: 28.89 kB / 3.745 GB, free: 29.36 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/11.61, allocations: 377.7 kB / 3.745 GB, free: 29.11 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/11.61, allocations: 162.5 kB / 3.745 GB, free: 29.01 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/11.61, allocations: 0 / 3.745 GB, free: 29.01 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001649/11.61, allocations: 338.4 kB / 3.746 GB, free: 28.69 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/11.61, allocations: 191.4 kB / 3.746 GB, free: 28.69 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005528/11.61, allocations: 349 kB / 3.746 GB, free: 28.5 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/11.61, allocations: 321.6 kB / 3.747 GB, free: 28.49 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/11.61, allocations: 3.969 kB / 3.747 GB, free: 28.49 MB / 0.5108 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003593/11.62, allocations: 0.843 MB / 3.747 GB, free: 28.41 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007951/11.62, allocations: 1.835 MB / 3.749 GB, free: 26.49 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/11.62, allocations: 7.469 kB / 3.749 GB, free: 26.49 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/11.62, allocations: 313 kB / 3.75 GB, free: 26.47 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009846/11.62, allocations: 134.6 kB / 3.75 GB, free: 26.47 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/11.62, allocations: 0.9695 MB / 3.751 GB, free: 25.94 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/11.62, allocations: 77.78 kB / 3.751 GB, free: 25.93 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/11.62, allocations: 36.06 kB / 3.751 GB, free: 25.93 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/11.62, allocations: 6.438 kB / 3.751 GB, free: 25.93 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00357/11.63, allocations: 0.7206 MB / 3.751 GB, free: 25.89 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/11.63, allocations: 7.719 kB / 3.751 GB, free: 25.89 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/11.63, allocations: 261.7 kB / 3.752 GB, free: 25.88 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009813/11.63, allocations: 140.5 kB / 3.752 GB, free: 25.88 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/11.63, allocations: 0.848 MB / 3.753 GB, free: 25.34 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/11.63, allocations: 71.59 kB / 3.753 GB, free: 25.34 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.392e-05/11.63, allocations: 32.59 kB / 3.753 GB, free: 25.34 MB / 0.5108 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.0003001/11.63, allocations: 126.3 kB / 3.753 GB, free: 25.22 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002443/11.64, allocations: 0.5666 MB / 3.753 GB, free: 25.13 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/11.64, allocations: 60.69 kB / 3.753 GB, free: 25.11 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004142/11.64, allocations: 2.264 MB / 3.756 GB, free: 24.81 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.625e-05/11.64, allocations: 25.33 kB / 3.756 GB, free: 24.81 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/11.64, allocations: 0 / 3.756 GB, free: 24.81 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/11.64, allocations: 3.234 kB / 3.756 GB, free: 24.81 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005985/11.65, allocations: 3.139 MB / 3.759 GB, free: 24.4 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/11.65, allocations: 0 / 3.759 GB, free: 24.4 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/11.65, allocations: 146.1 kB / 3.759 GB, free: 24.4 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004303/11.65, allocations: 94.09 kB / 3.759 GB, free: 24.38 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/11.65, allocations: 10.86 kB / 3.759 GB, free: 24.38 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/11.65, allocations: 1.159 MB / 3.76 GB, free: 23.33 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/11.65, allocations: 0 / 3.76 GB, free: 23.33 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00377/11.65, allocations: 1.861 MB / 3.762 GB, free: 23.07 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008229/11.65, allocations: 355.8 kB / 3.762 GB, free: 22.88 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/11.65, allocations: 0 / 3.762 GB, free: 22.88 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009789/11.65, allocations: 66.39 kB / 3.762 GB, free: 22.87 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/11.66, allocations: 58.8 kB / 3.762 GB, free: 22.87 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/11.66, allocations: 17.88 kB / 3.762 GB, free: 22.87 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0009103/11.66, allocations: 494.9 kB / 3.763 GB, free: 22.77 MB / 0.5108 GB Notification: Performance of sort global known variables: time 4.71e-07/11.66, allocations: 0 / 3.763 GB, free: 22.77 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.007545/11.66, allocations: 1.365 MB / 3.764 GB, free: 22.57 MB / 0.5108 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: 17 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.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 (58): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01565/11.68, allocations: 4.116 MB / 3.768 GB, free: 21.49 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.003228/11.68, allocations: 1.072 MB / 3.769 GB, free: 21.47 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/11.68, allocations: 1.688 kB / 3.769 GB, free: 21.47 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/11.68, allocations: 0.5861 MB / 3.77 GB, free: 21.46 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/11.69, allocations: 266.5 kB / 3.77 GB, free: 21.45 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007766/11.69, allocations: 2.218 MB / 3.772 GB, free: 20.71 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007507/11.7, allocations: 1.112 MB / 3.773 GB, free: 19.99 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007477/11.7, allocations: 424.4 kB / 3.774 GB, free: 19.98 MB / 0.5108 GB Notification: Performance of SimCode: time 2.245e-06/11.7, allocations: 0 / 3.774 GB, free: 19.98 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.26/15.96, allocations: 44.31 MB / 3.817 GB, free: 5.133 MB / 0.5108 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