Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",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.001262/0.001262, allocations: 180.3 kB / 14.15 MB, free: 1.176 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.556/1.556, allocations: 221.3 MB / 236 MB, free: 2.969 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.0009284/0.0009285, allocations: 95.62 kB / 287 MB, free: 264 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2184/0.2184, allocations: 44.16 MB / 382 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.543e-05, allocations: 0 / 451.9 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1561, allocations: 61.92 MB / 0.5018 GB, free: 11.4 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.945/8.101, allocations: 2.788 GB / 3.289 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/8.102, allocations: 82.72 kB / 3.289 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.646/9.748, allocations: 444.5 MB / 3.724 GB, free: 62.35 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.703e-06/9.748, allocations: 0 / 3.724 GB, free: 62.35 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.427e-05/9.748, allocations: 15.47 kB / 3.724 GB, free: 62.35 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.008009/9.756, allocations: 1.789 MB / 3.725 GB, free: 61.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.753e-05/9.756, allocations: 10.38 kB / 3.725 GB, free: 61.42 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001965/9.756, allocations: 96.95 kB / 3.725 GB, free: 61.35 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/9.759, allocations: 331.2 kB / 3.726 GB, free: 61.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/9.76, allocations: 0.5779 MB / 3.726 GB, free: 60.92 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/9.76, allocations: 49.22 kB / 3.726 GB, free: 60.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.144e-05/9.761, allocations: 59.88 kB / 3.726 GB, free: 60.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/9.763, allocations: 0.9885 MB / 3.727 GB, free: 60.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/9.763, allocations: 3.438 kB / 3.727 GB, free: 60.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.02e-05/9.763, allocations: 30.19 kB / 3.727 GB, free: 60.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/9.763, allocations: 31.2 kB / 3.727 GB, free: 60.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/9.764, allocations: 0.8286 MB / 3.728 GB, free: 60.18 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.004908/9.769, allocations: 4.849 MB / 3.733 GB, free: 56.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/9.771, allocations: 0.7489 MB / 3.734 GB, free: 56.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/9.772, allocations: 227.4 kB / 3.734 GB, free: 55.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04248/9.814, allocations: 24.16 MB / 3.757 GB, free: 40.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.938e-05/9.814, allocations: 38.84 kB / 3.758 GB, free: 40.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 5.581e-06/9.814, allocations: 3.891 kB / 3.758 GB, free: 40.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.003997/9.818, allocations: 1.082 MB / 3.759 GB, free: 40.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/9.818, allocations: 106.3 kB / 3.759 GB, free: 40.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008203/9.819, allocations: 460.6 kB / 3.759 GB, free: 39.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.704e-05/9.819, allocations: 33.7 kB / 3.759 GB, free: 39.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/9.819, allocations: 352.8 kB / 3.759 GB, free: 39.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/9.82, allocations: 155.4 kB / 3.76 GB, free: 39.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/9.82, allocations: 15.41 kB / 3.76 GB, free: 39.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001315/9.82, allocations: 373.5 kB / 3.76 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/9.82, allocations: 183.3 kB / 3.76 GB, free: 39.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/9.821, allocations: 367.3 kB / 3.761 GB, free: 38.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/9.821, allocations: 238.9 kB / 3.761 GB, free: 38.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/9.821, allocations: 3.188 kB / 3.761 GB, free: 38.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00132/9.822, allocations: 0.7259 MB / 3.761 GB, free: 38.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004782/9.823, allocations: 2.007 MB / 3.763 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/9.823, allocations: 3.156 kB / 3.763 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/9.825, allocations: 443.2 kB / 3.764 GB, free: 36.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/9.826, allocations: 142.8 kB / 3.764 GB, free: 36.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/9.827, allocations: 0.8044 MB / 3.765 GB, free: 35.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009399/9.828, allocations: 127.7 kB / 3.765 GB, free: 35.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/9.828, allocations: 39.75 kB / 3.765 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/9.828, allocations: 10.28 kB / 3.765 GB, free: 35.45 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001295/9.829, allocations: 0.6473 MB / 3.766 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/9.829, allocations: 7.094 kB / 3.766 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008994/9.83, allocations: 186 kB / 3.766 GB, free: 35.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/9.831, allocations: 162.1 kB / 3.766 GB, free: 35.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000782/9.832, allocations: 0.7266 MB / 3.767 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008357/9.832, allocations: 110 kB / 3.767 GB, free: 34.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.846e-05/9.832, allocations: 36.39 kB / 3.767 GB, free: 34.5 MB / 0.5261 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 (59): * Single equations (assignments): 58 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002365/9.833, allocations: 140.9 kB / 3.767 GB, free: 34.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/9.833, allocations: 66.73 kB / 3.767 GB, free: 34.33 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/9.836, allocations: 3.055 MB / 3.77 GB, free: 32.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.589e-05/9.836, allocations: 41.83 kB / 3.77 GB, free: 32.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/9.836, allocations: 3.031 kB / 3.77 GB, free: 32.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/9.836, allocations: 3.469 kB / 3.77 GB, free: 32.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/9.838, allocations: 1.478 MB / 3.771 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/9.838, allocations: 3.703 kB / 3.771 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/9.838, allocations: 87.98 kB / 3.772 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002943/9.841, allocations: 1.403 MB / 3.773 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/9.841, allocations: 18.34 kB / 3.773 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/9.843, allocations: 1.53 MB / 3.774 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/9.843, allocations: 0 / 3.774 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/9.845, allocations: 2.022 MB / 3.776 GB, free: 29.78 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005952/9.846, allocations: 338.8 kB / 3.777 GB, free: 29.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/9.846, allocations: 8 kB / 3.777 GB, free: 29.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007412/9.847, allocations: 83.73 kB / 3.777 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/9.847, allocations: 64.31 kB / 3.777 GB, free: 29.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/9.847, allocations: 23.88 kB / 3.777 GB, free: 29.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007003/9.848, allocations: 462.1 kB / 3.777 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/9.848, allocations: 3.812 kB / 3.777 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007072/9.855, allocations: 1.434 MB / 3.779 GB, free: 28.96 MB / 0.5261 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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.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 (40): * Single equations (assignments): 30 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01414/9.869, allocations: 3.88 MB / 3.783 GB, free: 27.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003322/9.872, allocations: 1.217 MB / 3.784 GB, free: 26.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/9.872, allocations: 0 / 3.784 GB, free: 26.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/9.873, allocations: 0.7411 MB / 3.784 GB, free: 26.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/9.875, allocations: 332.1 kB / 3.785 GB, free: 26.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006889/9.882, allocations: 2.372 MB / 3.787 GB, free: 25.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/9.883, allocations: 1.165 MB / 3.788 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001278/9.884, allocations: 0.6807 MB / 3.789 GB, free: 24.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/9.885, allocations: 409.9 kB / 3.789 GB, free: 24.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/9.885, allocations: 0 / 3.789 GB, free: 24.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.437/10.32, allocations: 58.73 MB / 3.847 GB, free: 75.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/10.32, allocations: 243.9 kB / 3.847 GB, free: 75.56 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.19/14.51, allocations: 3.75 kB / 3.847 GB, free: 75.56 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat