Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",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.001708/0.001708, allocations: 177.6 kB / 8.002 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.914/1.914, 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.00078/0.00078, allocations: 90.58 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.2321/0.2321, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.85e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1441, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.7/8.844, allocations: 2.781 GB / 3.247 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/8.845, allocations: 88.8 kB / 3.247 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.65/10.5, allocations: 435.6 MB / 3.673 GB, free: 62.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.697e-06/10.5, allocations: 3.938 kB / 3.673 GB, free: 62.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.84e-05/10.5, allocations: 18.19 kB / 3.673 GB, free: 62.91 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.00758/10.5, allocations: 1.783 MB / 3.675 GB, free: 62.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/10.5, allocations: 6.625 kB / 3.675 GB, free: 62.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/10.51, allocations: 335.1 kB / 3.675 GB, free: 62.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/10.51, allocations: 0.5791 MB / 3.676 GB, free: 61.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/10.51, allocations: 21.02 kB / 3.676 GB, free: 61.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-05/10.51, allocations: 34.94 kB / 3.676 GB, free: 61.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009651/10.51, allocations: 0.565 MB / 3.676 GB, free: 61.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009607/10.51, allocations: 0.684 MB / 3.677 GB, free: 61.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/10.51, allocations: 0 / 3.677 GB, free: 61.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/10.51, allocations: 7.469 kB / 3.677 GB, free: 61.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/10.51, allocations: 24.44 kB / 3.677 GB, free: 61.57 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.07717/10.59, allocations: 44.3 MB / 3.72 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009691/10.59, allocations: 455 kB / 3.721 GB, free: 33.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/10.59, allocations: 206.2 kB / 3.721 GB, free: 33.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04478/10.63, allocations: 24.16 MB / 3.744 GB, free: 18.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/10.63, allocations: 38.39 kB / 3.744 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=43): time 3.306e-06/10.63, allocations: 0 / 3.744 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43): time 0.002926/10.64, allocations: 0.8712 MB / 3.745 GB, free: 18.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/10.64, allocations: 110.4 kB / 3.745 GB, free: 18.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004965/10.64, allocations: 417.1 kB / 3.746 GB, free: 18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/10.64, allocations: 32.61 kB / 3.746 GB, free: 17.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/10.64, allocations: 351.6 kB / 3.746 GB, free: 17.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/10.64, allocations: 143.9 kB / 3.746 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/10.64, allocations: 0 / 3.746 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.14e-05/10.64, allocations: 368.2 kB / 3.747 GB, free: 17.37 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/10.64, allocations: 179 kB / 3.747 GB, free: 17.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/10.64, allocations: 364 kB / 3.747 GB, free: 17.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/10.64, allocations: 324.2 kB / 3.747 GB, free: 17.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/10.64, allocations: 7.25 kB / 3.747 GB, free: 17.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001783/10.64, allocations: 0.7723 MB / 3.748 GB, free: 17.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000414/10.64, allocations: 2.005 MB / 3.75 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/10.64, allocations: 11.67 kB / 3.75 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/10.64, allocations: 282 kB / 3.75 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005068/10.64, allocations: 149 kB / 3.751 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/10.64, allocations: 0.8841 MB / 3.751 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008685/10.64, allocations: 129 kB / 3.752 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/10.64, allocations: 39.5 kB / 3.752 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/10.64, allocations: 3.781 kB / 3.752 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001714/10.65, allocations: 0.6627 MB / 3.752 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/10.65, allocations: 4.344 kB / 3.752 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007679/10.65, allocations: 168.3 kB / 3.752 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/10.65, allocations: 160.1 kB / 3.753 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/10.65, allocations: 0.7402 MB / 3.753 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007542/10.65, allocations: 101.8 kB / 3.753 GB, free: 29.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/10.65, allocations: 31.06 kB / 3.753 GB, free: 29.77 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 (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.0002164/10.65, allocations: 129.2 kB / 3.753 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001346/10.65, allocations: 0.55 MB / 3.754 GB, free: 29.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/10.65, allocations: 61.83 kB / 3.754 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/10.65, allocations: 2.517 MB / 3.757 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/10.65, allocations: 38.08 kB / 3.757 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/10.65, allocations: 0 / 3.757 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/10.65, allocations: 3.891 kB / 3.757 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/10.66, allocations: 1.156 MB / 3.758 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/10.66, allocations: 2.625 kB / 3.758 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/10.66, allocations: 67.58 kB / 3.758 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/10.66, allocations: 1.171 MB / 3.759 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/10.66, allocations: 7.047 kB / 3.759 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/10.66, allocations: 1.705 MB / 3.761 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/10.66, allocations: 0 / 3.761 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/10.66, allocations: 1.846 MB / 3.762 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/10.66, allocations: 289.9 kB / 3.763 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.214e-05/10.66, allocations: 0 / 3.763 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005366/10.66, allocations: 75.27 kB / 3.763 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.519e-05/10.66, allocations: 47.64 kB / 3.763 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/10.66, allocations: 16 kB / 3.763 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000435/10.66, allocations: 376.9 kB / 3.763 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/10.66, allocations: 0 / 3.763 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005924/10.67, allocations: 1.395 MB / 3.765 GB, free: 21.43 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: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.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 (34): * Single equations (assignments): 26 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01105/10.68, allocations: 3.799 MB / 3.768 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002596/10.68, allocations: 1.095 MB / 3.769 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/10.68, allocations: 4 kB / 3.769 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007321/10.68, allocations: 0.6206 MB / 3.77 GB, free: 16.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/10.68, allocations: 277.4 kB / 3.77 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006616/10.69, allocations: 2.065 MB / 3.772 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/10.69, allocations: 1.11 MB / 3.773 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001311/10.69, allocations: 0.7447 MB / 3.774 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004509/10.69, allocations: 358.8 kB / 3.774 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of SimCode: time 1.312e-06/10.69, allocations: 4 kB / 3.774 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4459/11.14, allocations: 48.37 MB / 3.822 GB, free: 91.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/11.14, allocations: 193.8 kB / 3.822 GB, free: 90.85 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.621/14.76, allocations: 5.281 kB / 3.822 GB, free: 90.85 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat