Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",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.002101/0.002101, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 86.62 kB / 261.7 MB, free: 1.684 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.2379/0.2379, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.255e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1685, allocations: 58.85 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.375/8.543, allocations: 2.786 GB / 3.252 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/8.544, allocations: 87.94 kB / 3.252 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.68/10.22, allocations: 435.5 MB / 3.677 GB, free: 62.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.202e-06/10.22, allocations: 0 / 3.677 GB, free: 62.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.047e-05/10.22, allocations: 20.61 kB / 3.677 GB, free: 62.71 MB / 0.4948 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.006482/10.23, allocations: 1.771 MB / 3.679 GB, free: 61.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/10.23, allocations: 9.75 kB / 3.679 GB, free: 61.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00261/10.23, allocations: 348.4 kB / 3.679 GB, free: 61.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/10.23, allocations: 0.5738 MB / 3.68 GB, free: 61.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/10.23, allocations: 22.34 kB / 3.68 GB, free: 61.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/10.23, allocations: 34.28 kB / 3.68 GB, free: 61.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009159/10.24, allocations: 0.5541 MB / 3.681 GB, free: 61.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009529/10.24, allocations: 0.6768 MB / 3.681 GB, free: 61.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/10.24, allocations: 3.703 kB / 3.681 GB, free: 61.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/10.24, allocations: 6.719 kB / 3.681 GB, free: 61.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/10.24, allocations: 23 kB / 3.681 GB, free: 61.35 MB / 0.4948 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.07742/10.31, allocations: 44.36 MB / 3.725 GB, free: 33.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007127/10.31, allocations: 367.5 kB / 3.725 GB, free: 33.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/10.31, allocations: 203.1 kB / 3.725 GB, free: 33.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04395/10.36, allocations: 24.29 MB / 3.749 GB, free: 17.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.459e-05/10.36, allocations: 39.69 kB / 3.749 GB, free: 17.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 3.046e-06/10.36, allocations: 0 / 3.749 GB, free: 17.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.003489/10.36, allocations: 0.8454 MB / 3.75 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/10.36, allocations: 110.7 kB / 3.75 GB, free: 17.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007138/10.36, allocations: 397.9 kB / 3.75 GB, free: 17.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-05/10.36, allocations: 33.45 kB / 3.75 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/10.36, allocations: 355.1 kB / 3.751 GB, free: 17.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/10.36, allocations: 140.2 kB / 3.751 GB, free: 17.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/10.36, allocations: 0 / 3.751 GB, free: 17.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001525/10.36, allocations: 359.9 kB / 3.751 GB, free: 16.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/10.36, allocations: 175.5 kB / 3.751 GB, free: 16.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/10.36, allocations: 346.2 kB / 3.752 GB, free: 16.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/10.37, allocations: 305 kB / 3.752 GB, free: 16.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/10.37, allocations: 0 / 3.752 GB, free: 16.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002036/10.37, allocations: 0.7308 MB / 3.753 GB, free: 16.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001809/10.37, allocations: 2.013 MB / 3.755 GB, free: 30.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/10.37, allocations: 4 kB / 3.755 GB, free: 30.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007439/10.37, allocations: 183.9 kB / 3.755 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/10.37, allocations: 144.8 kB / 3.755 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/10.37, allocations: 0.8294 MB / 3.756 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008946/10.37, allocations: 118.2 kB / 3.756 GB, free: 29.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/10.37, allocations: 31.72 kB / 3.756 GB, free: 29.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/10.37, allocations: 4 kB / 3.756 GB, free: 29.36 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002088/10.38, allocations: 0.6379 MB / 3.756 GB, free: 29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/10.38, allocations: 4 kB / 3.756 GB, free: 28.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007842/10.38, allocations: 166.2 kB / 3.757 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/10.38, allocations: 150.2 kB / 3.757 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007202/10.38, allocations: 0.7117 MB / 3.757 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008169/10.38, allocations: 112.9 kB / 3.758 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/10.38, allocations: 30.52 kB / 3.758 GB, free: 28.04 MB / 0.5105 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.0002424/10.38, allocations: 123.9 kB / 3.758 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001447/10.38, allocations: 0.5282 MB / 3.758 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/10.38, allocations: 58.34 kB / 3.758 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/10.38, allocations: 2.533 MB / 3.761 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-05/10.38, allocations: 41.02 kB / 3.761 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/10.38, allocations: 0 / 3.761 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/10.38, allocations: 3.844 kB / 3.761 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00407/10.39, allocations: 3.4 MB / 3.764 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/10.39, allocations: 0 / 3.764 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/10.39, allocations: 73.58 kB / 3.764 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/10.39, allocations: 1.114 MB / 3.765 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/10.39, allocations: 11.47 kB / 3.765 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/10.39, allocations: 1.631 MB / 3.767 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/10.39, allocations: 9.234 kB / 3.767 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/10.39, allocations: 1.819 MB / 3.769 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/10.39, allocations: 289.6 kB / 3.769 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.875e-05/10.39, allocations: 0 / 3.769 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/10.39, allocations: 66.38 kB / 3.769 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/10.39, allocations: 36.97 kB / 3.769 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/10.39, allocations: 27.7 kB / 3.769 GB, free: 18.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004821/10.4, allocations: 375 kB / 3.769 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/10.4, allocations: 4 kB / 3.769 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006881/10.4, allocations: 1.387 MB / 3.771 GB, free: 16.37 MB / 0.5105 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.01248/10.41, allocations: 3.838 MB / 3.774 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002346/10.42, allocations: 1.06 MB / 3.776 GB, free: 12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/10.42, allocations: 0 / 3.776 GB, free: 12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008462/10.42, allocations: 0.6249 MB / 3.776 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/10.42, allocations: 256.5 kB / 3.776 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/10.43, allocations: 2.083 MB / 3.778 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000908/10.43, allocations: 1.111 MB / 3.779 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001647/10.43, allocations: 0.7391 MB / 3.78 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/10.43, allocations: 368.3 kB / 3.781 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of SimCode: time 2.034e-06/10.43, allocations: 0 / 3.781 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4778/10.91, allocations: 47.87 MB / 3.827 GB, free: 75.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/10.91, allocations: 185.1 kB / 3.827 GB, free: 74.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.626/14.53, allocations: 4 kB / 3.827 GB, free: 74.91 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat