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.002086/0.002086, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.2 MB / 218.9 MB, free: 9.137 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.001022/0.001022, allocations: 90.64 kB / 267.1 MB, free: 9.266 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.4088/0.4088, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.868e-05/3.871e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1582, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.829/7.987, allocations: 2.787 GB / 3.26 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/7.987, allocations: 83.11 kB / 3.26 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.677/9.665, allocations: 439.7 MB / 3.689 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.725e-06/9.665, allocations: 0 / 3.689 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.151e-05/9.665, allocations: 19.5 kB / 3.689 GB, free: 49.08 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007336/9.672, allocations: 1.759 MB / 3.691 GB, free: 48.01 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/9.672, allocations: 7.719 kB / 3.691 GB, free: 48.01 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/9.672, allocations: 107.6 kB / 3.691 GB, free: 47.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00274/9.675, allocations: 350.2 kB / 3.691 GB, free: 47.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/9.676, allocations: 0.5751 MB / 3.692 GB, free: 47.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/9.676, allocations: 46.81 kB / 3.692 GB, free: 47.47 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.082e-05/9.676, allocations: 58.12 kB / 3.692 GB, free: 47.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/9.679, allocations: 0.9876 MB / 3.693 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/9.679, allocations: 3.969 kB / 3.693 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-05/9.679, allocations: 27.28 kB / 3.693 GB, free: 46.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/9.679, allocations: 19 kB / 3.693 GB, free: 46.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/9.68, allocations: 0.8256 MB / 3.694 GB, free: 46.72 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.006062/9.687, allocations: 4.932 MB / 3.699 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/9.688, allocations: 0.7035 MB / 3.699 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/9.689, allocations: 225.9 kB / 3.699 GB, free: 42.35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04193/9.731, allocations: 24.28 MB / 3.723 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/9.731, allocations: 38.56 kB / 3.723 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=46): time 2.685e-06/9.731, allocations: 0 / 3.723 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.003797/9.735, allocations: 1.069 MB / 3.724 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/9.735, allocations: 110.7 kB / 3.724 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/9.735, allocations: 453.5 kB / 3.725 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/9.736, allocations: 33.64 kB / 3.725 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/9.736, allocations: 342 kB / 3.725 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/9.736, allocations: 153.2 kB / 3.725 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/9.736, allocations: 15 kB / 3.725 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001151/9.736, allocations: 375.5 kB / 3.726 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/9.736, allocations: 174 kB / 3.726 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/9.737, allocations: 355.2 kB / 3.726 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/9.737, allocations: 214.2 kB / 3.726 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/9.737, allocations: 0 / 3.726 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001282/9.739, allocations: 0.6752 MB / 3.727 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000533/9.739, allocations: 2.008 MB / 3.729 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/9.739, allocations: 7.688 kB / 3.729 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/9.741, allocations: 261.9 kB / 3.729 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/9.741, allocations: 141.2 kB / 3.729 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009813/9.742, allocations: 0.7587 MB / 3.73 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009364/9.743, allocations: 124.1 kB / 3.73 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.997e-05/9.743, allocations: 35.45 kB / 3.73 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/9.743, allocations: 3.5 kB / 3.73 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001198/9.744, allocations: 0.6114 MB / 3.731 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/9.744, allocations: 3.344 kB / 3.731 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008415/9.745, allocations: 180.7 kB / 3.731 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/9.746, allocations: 133.7 kB / 3.731 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005395/9.746, allocations: 0.7236 MB / 3.732 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008078/9.747, allocations: 108 kB / 3.732 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/9.747, allocations: 34.28 kB / 3.732 GB, free: 20.48 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 (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 (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.0002026/9.747, allocations: 146.4 kB / 3.732 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/9.748, allocations: 62.05 kB / 3.732 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003312/9.751, allocations: 3.023 MB / 3.735 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/9.751, allocations: 52.12 kB / 3.735 GB, free: 18.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/9.751, allocations: 0 / 3.735 GB, free: 18.81 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/9.751, allocations: 3.938 kB / 3.735 GB, free: 18.81 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/9.753, allocations: 1.482 MB / 3.737 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/9.753, allocations: 0 / 3.737 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/9.753, allocations: 107.2 kB / 3.737 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002082/9.755, allocations: 1.152 MB / 3.738 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/9.755, allocations: 22.58 kB / 3.738 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/9.757, allocations: 1.478 MB / 3.739 GB, free: 16.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/9.757, allocations: 0 / 3.739 GB, free: 16.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/9.759, allocations: 2.004 MB / 3.741 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000576/9.76, allocations: 328 kB / 3.742 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/9.76, allocations: 11.41 kB / 3.742 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006972/9.76, allocations: 84.67 kB / 3.742 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/9.761, allocations: 52.08 kB / 3.742 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/9.761, allocations: 22.19 kB / 3.742 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006277/9.761, allocations: 460.2 kB / 3.742 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/9.761, allocations: 3.938 kB / 3.742 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006927/9.768, allocations: 1.429 MB / 3.744 GB, free: 15 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01264/9.781, allocations: 3.853 MB / 3.747 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003106/9.784, allocations: 1.178 MB / 3.749 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/9.784, allocations: 0 / 3.749 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/9.785, allocations: 0.7451 MB / 3.749 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/9.787, allocations: 316.4 kB / 3.75 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00819/9.795, allocations: 2.361 MB / 3.752 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/9.796, allocations: 1.165 MB / 3.753 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001466/9.798, allocations: 0.6849 MB / 3.754 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/9.798, allocations: 408.4 kB / 3.754 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of SimCode: time 2.225e-06/9.798, allocations: 0 / 3.754 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4742/10.27, allocations: 58.09 MB / 3.811 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/10.27, allocations: 244.1 kB / 3.811 GB, free: 45.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.911/14.18, allocations: 0 / 3.811 GB, free: 45.77 MB / 0.5105 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