Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",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.001753/0.001752, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.561/1.561, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 93.48 kB / 292.1 MB, free: 10.91 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.4762/0.4762, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003427, allocations: 8 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4632, allocations: 61.9 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.133/7.596, allocations: 2.77 GB / 3.28 GB, free: 88.03 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/7.596, allocations: 98.38 kB / 3.28 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.476/9.072, allocations: 425.9 MB / 3.696 GB, free: 51.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.894e-06/9.072, allocations: 0 / 3.696 GB, free: 51.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.641e-05/9.072, allocations: 16.22 kB / 3.696 GB, free: 51.52 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.007292/9.079, allocations: 1.731 MB / 3.698 GB, free: 50.47 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/9.08, allocations: 11.53 kB / 3.698 GB, free: 50.47 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002315/9.08, allocations: 95.14 kB / 3.698 GB, free: 50.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/9.082, allocations: 300.1 kB / 3.698 GB, free: 50.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/9.083, allocations: 0.529 MB / 3.699 GB, free: 49.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/9.084, allocations: 45.59 kB / 3.699 GB, free: 49.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/9.084, allocations: 55.38 kB / 3.699 GB, free: 49.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/9.086, allocations: 0.9725 MB / 3.7 GB, free: 49.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/9.086, allocations: 3.938 kB / 3.7 GB, free: 49.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/9.086, allocations: 23.5 kB / 3.7 GB, free: 49.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/9.086, allocations: 23.25 kB / 3.7 GB, free: 49.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/9.088, allocations: 0.8685 MB / 3.7 GB, free: 49.29 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005039/9.093, allocations: 4.644 MB / 3.705 GB, free: 45.44 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/9.096, allocations: 0.7691 MB / 3.706 GB, free: 45.24 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04005/9.136, allocations: 24.08 MB / 3.729 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/9.136, allocations: 39.97 kB / 3.729 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 2.164e-06/9.136, allocations: 0 / 3.729 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.005536/9.141, allocations: 1.61 MB / 3.731 GB, free: 29.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/9.141, allocations: 106.8 kB / 3.731 GB, free: 29.01 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/9.142, allocations: 409.2 kB / 3.731 GB, free: 28.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/9.142, allocations: 37.11 kB / 3.731 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/9.142, allocations: 315.7 kB / 3.732 GB, free: 28.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/9.142, allocations: 146.5 kB / 3.732 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/9.142, allocations: 8 kB / 3.732 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.293e-05/9.142, allocations: 364.9 kB / 3.732 GB, free: 28.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/9.143, allocations: 223.5 kB / 3.732 GB, free: 28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/9.143, allocations: 403.3 kB / 3.733 GB, free: 27.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/9.144, allocations: 258 kB / 3.733 GB, free: 27.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/9.144, allocations: 0 / 3.733 GB, free: 27.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001665/9.145, allocations: 0.796 MB / 3.734 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003898/9.146, allocations: 1.918 MB / 3.736 GB, free: 25.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/9.146, allocations: 7.938 kB / 3.736 GB, free: 25.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008657/9.147, allocations: 209.5 kB / 3.736 GB, free: 25.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/9.147, allocations: 123.5 kB / 3.736 GB, free: 25.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000836/9.148, allocations: 0.7688 MB / 3.737 GB, free: 24.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006412/9.149, allocations: 108.1 kB / 3.737 GB, free: 24.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/9.149, allocations: 34 kB / 3.737 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/9.149, allocations: 6.438 kB / 3.737 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001553/9.15, allocations: 0.701 MB / 3.738 GB, free: 24.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/9.15, allocations: 11.52 kB / 3.738 GB, free: 24.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009497/9.151, allocations: 207.6 kB / 3.738 GB, free: 24.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/9.152, allocations: 123 kB / 3.738 GB, free: 24.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007182/9.152, allocations: 0.7576 MB / 3.739 GB, free: 23.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/9.153, allocations: 102.5 kB / 3.739 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/9.153, allocations: 30.59 kB / 3.739 GB, free: 23.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004118/9.153, allocations: 279.7 kB / 3.739 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-05/9.154, allocations: 54.44 kB / 3.739 GB, free: 23.33 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/9.157, allocations: 2.926 MB / 3.742 GB, free: 21.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.911e-05/9.157, allocations: 43 kB / 3.742 GB, free: 21.28 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/9.157, allocations: 0 / 3.742 GB, free: 21.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/9.157, allocations: 3.797 kB / 3.742 GB, free: 21.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/9.158, allocations: 1.43 MB / 3.743 GB, free: 20.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/9.158, allocations: 0 / 3.743 GB, free: 20.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/9.159, allocations: 95.3 kB / 3.744 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/9.16, allocations: 0.6497 MB / 3.744 GB, free: 19.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/9.16, allocations: 15.89 kB / 3.744 GB, free: 19.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/9.161, allocations: 1.216 MB / 3.745 GB, free: 18.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/9.161, allocations: 0 / 3.745 GB, free: 18.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/9.163, allocations: 1.868 MB / 3.747 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/9.164, allocations: 321.7 kB / 3.747 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.111e-05/9.164, allocations: 15.94 kB / 3.748 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004996/9.164, allocations: 73.28 kB / 3.748 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/9.164, allocations: 54.69 kB / 3.748 GB, free: 16.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/9.164, allocations: 20 kB / 3.748 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004251/9.165, allocations: 426.6 kB / 3.748 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/9.165, allocations: 3.938 kB / 3.748 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006587/9.171, allocations: 1.35 MB / 3.749 GB, free: 14.44 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0107/9.182, allocations: 3.829 MB / 3.753 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00295/9.185, allocations: 1.314 MB / 3.754 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/9.185, allocations: 320 / 3.754 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/9.186, allocations: 0.7783 MB / 3.755 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/9.188, allocations: 313.3 kB / 3.755 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/9.2, allocations: 8.693 MB / 3.764 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/9.201, allocations: 1.134 MB / 3.765 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001195/9.202, allocations: 0.66 MB / 3.766 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/9.202, allocations: 395.1 kB / 3.766 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of SimCode: time 8.21e-07/9.202, allocations: 0 / 3.766 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4053/9.608, allocations: 52.69 MB / 3.818 GB, free: 60.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/9.608, allocations: 278.9 kB / 3.818 GB, free: 60.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.029/13.64, allocations: 0.7812 kB / 3.818 GB, free: 60.38 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat