Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002449/0.002449, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 223.2 MB / 241 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009619/0.0009621, allocations: 92.02 kB / 292.1 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4665/0.4665, allocations: 44.22 MB / 387.5 MB, free: 38.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003682, allocations: 11.98 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4166, allocations: 61.9 MB / 0.5096 GB, free: 37.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.424/8.84, allocations: 2.787 GB / 3.297 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/8.841, allocations: 96.39 kB / 3.297 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.785/10.63, allocations: 444.9 MB / 3.731 GB, free: 59.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.254e-06/10.63, allocations: 0 / 3.731 GB, free: 59.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.594e-05/10.63, allocations: 24.27 kB / 3.731 GB, free: 59.14 MB / 0.5261 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.007957/10.63, allocations: 1.828 MB / 3.733 GB, free: 58.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.94e-05/10.63, allocations: 9.5 kB / 3.733 GB, free: 58.41 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003113/10.63, allocations: 103.4 kB / 3.733 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002732/10.64, allocations: 332.4 kB / 3.734 GB, free: 58.33 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/10.64, allocations: 0.5665 MB / 3.734 GB, free: 58.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/10.64, allocations: 53.16 kB / 3.734 GB, free: 58.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.813e-05/10.64, allocations: 65.66 kB / 3.734 GB, free: 58.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/10.64, allocations: 0.9849 MB / 3.735 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/10.64, allocations: 3.719 kB / 3.735 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/10.64, allocations: 27.06 kB / 3.735 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/10.64, allocations: 19.97 kB / 3.735 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/10.64, allocations: 0.9033 MB / 3.736 GB, free: 57.89 MB / 0.5261 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.005559/10.65, allocations: 4.452 MB / 3.741 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/10.65, allocations: 0.7867 MB / 3.741 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1008/10.75, allocations: 55.55 MB / 3.796 GB, free: 36.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/10.75, allocations: 37.94 kB / 3.796 GB, free: 36.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.415e-06/10.75, allocations: 0 / 3.796 GB, free: 36.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.007046/10.76, allocations: 2.35 MB / 3.798 GB, free: 35.75 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/10.76, allocations: 107.8 kB / 3.798 GB, free: 35.63 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007408/10.76, allocations: 476.1 kB / 3.798 GB, free: 35.51 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/10.76, allocations: 35.8 kB / 3.799 GB, free: 35.48 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/10.76, allocations: 325.3 kB / 3.799 GB, free: 35.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/10.76, allocations: 181.2 kB / 3.799 GB, free: 35.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/10.76, allocations: 15.53 kB / 3.799 GB, free: 35.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002163/10.76, allocations: 373.2 kB / 3.799 GB, free: 34.88 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006141/10.76, allocations: 265.2 kB / 3.8 GB, free: 34.88 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007012/10.76, allocations: 431.6 kB / 3.8 GB, free: 34.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/10.76, allocations: 304.8 kB / 3.8 GB, free: 34.67 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/10.76, allocations: 3.469 kB / 3.8 GB, free: 34.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002326/10.77, allocations: 0.9704 MB / 3.801 GB, free: 34.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009199/10.77, allocations: 1.834 MB / 3.803 GB, free: 32.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/10.77, allocations: 7.656 kB / 3.803 GB, free: 32.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/10.77, allocations: 446.7 kB / 3.804 GB, free: 32.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/10.77, allocations: 129.3 kB / 3.804 GB, free: 32.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/10.77, allocations: 0.9211 MB / 3.805 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008891/10.77, allocations: 97.81 kB / 3.805 GB, free: 32.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.8e-05/10.77, allocations: 34.81 kB / 3.805 GB, free: 32.08 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/10.77, allocations: 3.281 kB / 3.805 GB, free: 32.08 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001966/10.77, allocations: 0.8537 MB / 3.805 GB, free: 32.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/10.77, allocations: 4.094 kB / 3.805 GB, free: 32.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/10.78, allocations: 324.4 kB / 3.806 GB, free: 32.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/10.78, allocations: 138.9 kB / 3.806 GB, free: 32.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/10.78, allocations: 0.8787 MB / 3.807 GB, free: 31.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000803/10.78, allocations: 91.16 kB / 3.807 GB, free: 31.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/10.78, allocations: 32.55 kB / 3.807 GB, free: 31.48 MB / 0.5417 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 () * Number of clocked 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.0005314/10.78, allocations: 284.7 kB / 3.807 GB, free: 31.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/10.78, allocations: 63.94 kB / 3.807 GB, free: 31.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/10.78, allocations: 2.769 MB / 3.81 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/10.78, allocations: 37.23 kB / 3.81 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/10.78, allocations: 0 / 3.81 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/10.78, allocations: 7.328 kB / 3.81 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004955/10.79, allocations: 3.825 MB / 3.814 GB, free: 30.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/10.79, allocations: 7.625 kB / 3.814 GB, free: 30.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/10.79, allocations: 153.5 kB / 3.814 GB, free: 30.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004747/10.79, allocations: 103.5 kB / 3.814 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/10.79, allocations: 25.08 kB / 3.814 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008263/10.79, allocations: 1.124 MB / 3.815 GB, free: 29.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/10.79, allocations: 6.891 kB / 3.815 GB, free: 29.37 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003172/10.79, allocations: 2.299 MB / 3.817 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/10.79, allocations: 363.2 kB / 3.818 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/10.79, allocations: 11.03 kB / 3.818 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/10.79, allocations: 77.03 kB / 3.818 GB, free: 28.87 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/10.79, allocations: 54.77 kB / 3.818 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/10.79, allocations: 22.53 kB / 3.818 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007357/10.79, allocations: 0.5715 MB / 3.818 GB, free: 28.77 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/10.79, allocations: 0 / 3.818 GB, free: 28.77 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007332/10.8, allocations: 1.414 MB / 3.82 GB, free: 28.58 MB / 0.5417 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 () * Number of clocked 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.01445/10.82, allocations: 4.488 MB / 3.824 GB, free: 27.46 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003349/10.82, allocations: 1.413 MB / 3.826 GB, free: 27.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/10.82, allocations: 0 / 3.826 GB, free: 27.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/10.82, allocations: 0.7448 MB / 3.826 GB, free: 27.39 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/10.82, allocations: 341.6 kB / 3.827 GB, free: 27.37 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/10.83, allocations: 7.022 MB / 3.833 GB, free: 22.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007758/10.83, allocations: 1.154 MB / 3.835 GB, free: 21.62 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001392/10.84, allocations: 0.6565 MB / 3.835 GB, free: 21.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/10.84, allocations: 447.7 kB / 3.836 GB, free: 21.59 MB / 0.5417 GB Notification: Performance of SimCode: time 1.763e-06/10.84, allocations: 0 / 3.836 GB, free: 21.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/10.94, allocations: 55.89 MB / 3.89 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/10.94, allocations: 277.9 kB / 3.891 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.032/14.97, allocations: 0 / 3.891 GB, free: 12.54 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat