Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",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.001867/0.001867, allocations: 171.6 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.5 MB / 230.7 MB, free: 7.496 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001026, allocations: 96.36 kB / 281.6 MB, free: 5.238 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.205/0.205, allocations: 44.14 MB / 376.5 MB, free: 3.012 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.891e-05, allocations: 224 / 444.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.135, allocations: 61.93 MB / 0.4948 GB, free: 1.113 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.784/8.919, allocations: 2.791 GB / 3.286 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/8.919, allocations: 81.23 kB / 3.286 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.584/10.5, allocations: 440.1 MB / 3.716 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.818e-06/10.5, allocations: 3.875 kB / 3.716 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.382e-05/10.5, allocations: 25.5 kB / 3.716 GB, free: 68.15 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007176/10.51, allocations: 1.762 MB / 3.718 GB, free: 67.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/10.51, allocations: 14.64 kB / 3.718 GB, free: 67.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/10.51, allocations: 351.2 kB / 3.718 GB, free: 67.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/10.51, allocations: 0.5707 MB / 3.719 GB, free: 67.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/10.51, allocations: 25.88 kB / 3.719 GB, free: 67.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/10.51, allocations: 31.28 kB / 3.719 GB, free: 67.01 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008995/10.52, allocations: 0.5511 MB / 3.719 GB, free: 67.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009453/10.52, allocations: 0.6753 MB / 3.72 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/10.52, allocations: 8.344 kB / 3.72 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/10.52, allocations: 4.031 kB / 3.72 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/10.52, allocations: 32.91 kB / 3.72 GB, free: 66.8 MB / 0.5261 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.0727/10.59, allocations: 44.37 MB / 3.763 GB, free: 38.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/10.59, allocations: 375 kB / 3.764 GB, free: 38.94 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/10.59, allocations: 195.7 kB / 3.764 GB, free: 38.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04273/10.63, allocations: 24.28 MB / 3.788 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.894e-05/10.63, allocations: 41.25 kB / 3.788 GB, free: 23.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 2.936e-06/10.63, allocations: 0 / 3.788 GB, free: 23.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42): time 0.0034/10.64, allocations: 0.8553 MB / 3.789 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001439/10.64, allocations: 110.1 kB / 3.789 GB, free: 39.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/10.64, allocations: 400.2 kB / 3.789 GB, free: 38.99 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.687e-05/10.64, allocations: 28.27 kB / 3.789 GB, free: 38.96 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/10.64, allocations: 358.7 kB / 3.789 GB, free: 38.76 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/10.64, allocations: 139.1 kB / 3.79 GB, free: 38.67 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/10.64, allocations: 0 / 3.79 GB, free: 38.67 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001982/10.64, allocations: 365.1 kB / 3.79 GB, free: 38.35 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/10.64, allocations: 178.4 kB / 3.79 GB, free: 38.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/10.64, allocations: 346.2 kB / 3.79 GB, free: 38.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/10.64, allocations: 307.3 kB / 3.791 GB, free: 38.13 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/10.64, allocations: 4 kB / 3.791 GB, free: 38.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001756/10.64, allocations: 0.7311 MB / 3.791 GB, free: 38.04 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008549/10.64, allocations: 2.002 MB / 3.793 GB, free: 35.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/10.64, allocations: 7.188 kB / 3.793 GB, free: 35.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000726/10.64, allocations: 177.4 kB / 3.794 GB, free: 35.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/10.64, allocations: 139.3 kB / 3.794 GB, free: 35.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/10.65, allocations: 0.8319 MB / 3.794 GB, free: 35.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008346/10.65, allocations: 120.7 kB / 3.795 GB, free: 35.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.827e-05/10.65, allocations: 35.3 kB / 3.795 GB, free: 35.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/10.65, allocations: 6.625 kB / 3.795 GB, free: 35.36 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001903/10.65, allocations: 0.6293 MB / 3.795 GB, free: 35.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/10.65, allocations: 3.531 kB / 3.795 GB, free: 35.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007612/10.65, allocations: 170.8 kB / 3.795 GB, free: 35.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/10.65, allocations: 148 kB / 3.796 GB, free: 35.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006649/10.65, allocations: 0.7189 MB / 3.796 GB, free: 34.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000673/10.65, allocations: 109.3 kB / 3.796 GB, free: 34.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/10.65, allocations: 35.78 kB / 3.796 GB, free: 34.76 MB / 0.5417 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 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (58): * Single equations (assignments): 57 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002351/10.65, allocations: 135 kB / 3.797 GB, free: 34.64 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001428/10.65, allocations: 0.5274 MB / 3.797 GB, free: 34.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-05/10.65, allocations: 56.28 kB / 3.797 GB, free: 34.54 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/10.66, allocations: 2.529 MB / 3.8 GB, free: 34.25 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/10.66, allocations: 31.36 kB / 3.8 GB, free: 34.25 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/10.66, allocations: 0 / 3.8 GB, free: 34.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/10.66, allocations: 15.38 kB / 3.8 GB, free: 34.24 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003563/10.66, allocations: 3.399 MB / 3.803 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/10.66, allocations: 0 / 3.803 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/10.66, allocations: 77.83 kB / 3.803 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/10.66, allocations: 1.109 MB / 3.804 GB, free: 33.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/10.66, allocations: 8 kB / 3.804 GB, free: 33.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/10.66, allocations: 1.638 MB / 3.806 GB, free: 31.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/10.66, allocations: 0 / 3.806 GB, free: 31.96 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/10.67, allocations: 1.819 MB / 3.807 GB, free: 30.27 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/10.67, allocations: 285.6 kB / 3.808 GB, free: 30 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.048e-05/10.67, allocations: 0 / 3.808 GB, free: 30 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000528/10.67, allocations: 76.75 kB / 3.808 GB, free: 29.95 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/10.67, allocations: 39.56 kB / 3.808 GB, free: 29.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/10.67, allocations: 19.75 kB / 3.808 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005043/10.67, allocations: 380.8 kB / 3.808 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/10.67, allocations: 0 / 3.808 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007249/10.67, allocations: 1.391 MB / 3.81 GB, free: 28.21 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0117/10.69, allocations: 3.84 MB / 3.813 GB, free: 24.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002385/10.69, allocations: 1.055 MB / 3.814 GB, free: 23.88 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/10.69, allocations: 6.812 kB / 3.814 GB, free: 23.87 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006678/10.69, allocations: 0.6205 MB / 3.815 GB, free: 23.29 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/10.69, allocations: 268.4 kB / 3.815 GB, free: 23.11 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006444/10.7, allocations: 2.076 MB / 3.817 GB, free: 21.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/10.7, allocations: 1.107 MB / 3.818 GB, free: 20.22 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001212/10.7, allocations: 0.7351 MB / 3.819 GB, free: 19.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/10.7, allocations: 361.1 kB / 3.819 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of SimCode: time 7.82e-07/10.7, allocations: 0 / 3.819 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4749/11.17, allocations: 47.96 MB / 3.866 GB, free: 80.47 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000258/11.17, allocations: 193.1 kB / 3.866 GB, free: 80.28 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.692/14.87, allocations: 0 / 3.866 GB, free: 80.28 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat