Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",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.002023/0.002023, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.978/1.978, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001406/0.001406, allocations: 94.88 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2591/0.2591, allocations: 43.57 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.000356, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1677, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.701/6.869, allocations: 2.765 GB / 3.244 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/6.869, allocations: 85.64 kB / 3.244 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.414/8.283, allocations: 421.4 MB / 3.655 GB, free: 65.27 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.673e-06/8.283, allocations: 0 / 3.655 GB, free: 65.27 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.148e-05/8.283, allocations: 18.11 kB / 3.655 GB, free: 65.27 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00606/8.289, allocations: 1.718 MB / 3.657 GB, free: 64.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/8.289, allocations: 8.844 kB / 3.657 GB, free: 64.46 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002812/8.289, allocations: 102 kB / 3.657 GB, free: 64.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/8.292, allocations: 293.7 kB / 3.657 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/8.293, allocations: 0.5298 MB / 3.658 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.058e-05/8.293, allocations: 53.23 kB / 3.658 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/8.293, allocations: 51.5 kB / 3.658 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/8.295, allocations: 0.9695 MB / 3.659 GB, free: 63.94 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/8.295, allocations: 5.547 kB / 3.659 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/8.296, allocations: 29.25 kB / 3.659 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/8.296, allocations: 27.61 kB / 3.659 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/8.298, allocations: 0.8703 MB / 3.66 GB, free: 63.93 MB / 0.5105 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.004587/8.302, allocations: 4.638 MB / 3.664 GB, free: 60.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/8.305, allocations: 0.7659 MB / 3.665 GB, free: 60.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04124/8.346, allocations: 24.08 MB / 3.689 GB, free: 46.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/8.346, allocations: 36.62 kB / 3.689 GB, free: 45.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 2.595e-06/8.346, allocations: 3.219 kB / 3.689 GB, free: 45.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.00577/8.352, allocations: 1.604 MB / 3.69 GB, free: 45.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/8.352, allocations: 114 kB / 3.69 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005769/8.352, allocations: 404.9 kB / 3.691 GB, free: 45.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/8.352, allocations: 35.7 kB / 3.691 GB, free: 45.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/8.353, allocations: 322.4 kB / 3.691 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/8.353, allocations: 145.5 kB / 3.691 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/8.353, allocations: 9.938 kB / 3.691 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001063/8.353, allocations: 361.8 kB / 3.691 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005255/8.353, allocations: 219.2 kB / 3.692 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005722/8.354, allocations: 395.4 kB / 3.692 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005859/8.355, allocations: 264 kB / 3.692 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/8.355, allocations: 3.812 kB / 3.692 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001805/8.356, allocations: 0.7918 MB / 3.693 GB, free: 44.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004205/8.357, allocations: 1.918 MB / 3.695 GB, free: 42.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/8.357, allocations: 6.719 kB / 3.695 GB, free: 42.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009259/8.358, allocations: 205.3 kB / 3.695 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/8.358, allocations: 126.2 kB / 3.695 GB, free: 42.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009071/8.359, allocations: 0.7683 MB / 3.696 GB, free: 42.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007273/8.36, allocations: 103.9 kB / 3.696 GB, free: 42.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/8.36, allocations: 40.03 kB / 3.696 GB, free: 42.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/8.36, allocations: 7.281 kB / 3.696 GB, free: 42.02 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001616/8.362, allocations: 0.7136 MB / 3.697 GB, free: 41.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/8.362, allocations: 3.656 kB / 3.697 GB, free: 41.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/8.363, allocations: 212.9 kB / 3.697 GB, free: 41.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/8.363, allocations: 125.9 kB / 3.697 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000791/8.364, allocations: 0.7522 MB / 3.698 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/8.365, allocations: 97.81 kB / 3.698 GB, free: 41.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/8.365, allocations: 31.73 kB / 3.698 GB, free: 41.41 MB / 0.5105 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.0004105/8.365, allocations: 288.8 kB / 3.698 GB, free: 41.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/8.365, allocations: 55.59 kB / 3.698 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/8.369, allocations: 2.914 MB / 3.701 GB, free: 40.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/8.369, allocations: 42.03 kB / 3.701 GB, free: 40.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/8.369, allocations: 3.406 kB / 3.701 GB, free: 40.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/8.369, allocations: 3.703 kB / 3.701 GB, free: 40.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/8.37, allocations: 1.428 MB / 3.703 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/8.37, allocations: 3.938 kB / 3.703 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/8.371, allocations: 89.45 kB / 3.703 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/8.372, allocations: 0.6632 MB / 3.703 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/8.372, allocations: 15.16 kB / 3.703 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/8.373, allocations: 1.207 MB / 3.705 GB, free: 38.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/8.373, allocations: 4.062 kB / 3.705 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/8.375, allocations: 1.863 MB / 3.706 GB, free: 38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004008/8.376, allocations: 322.3 kB / 3.707 GB, free: 37.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/8.376, allocations: 18.3 kB / 3.707 GB, free: 37.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005252/8.376, allocations: 82.7 kB / 3.707 GB, free: 37.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.646e-05/8.376, allocations: 46.92 kB / 3.707 GB, free: 37.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/8.376, allocations: 21.73 kB / 3.707 GB, free: 37.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004372/8.377, allocations: 427.5 kB / 3.707 GB, free: 37.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.31e-07/8.377, allocations: 0 / 3.707 GB, free: 37.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005583/8.382, allocations: 1.344 MB / 3.709 GB, free: 37.24 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,$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.01082/8.393, allocations: 3.835 MB / 3.712 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003248/8.397, allocations: 1.309 MB / 3.714 GB, free: 35.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/8.397, allocations: 3.938 kB / 3.714 GB, free: 35.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/8.398, allocations: 0.7781 MB / 3.714 GB, free: 34.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/8.399, allocations: 301.1 kB / 3.715 GB, free: 34.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/8.411, allocations: 8.687 MB / 3.723 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006059/8.412, allocations: 1.138 MB / 3.724 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001202/8.413, allocations: 0.6691 MB / 3.725 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/8.414, allocations: 388.3 kB / 3.725 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of SimCode: time 2.234e-06/8.414, allocations: 0 / 3.725 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07281/8.486, allocations: 52.59 MB / 3.777 GB, free: 372 kB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/8.487, allocations: 269.2 kB / 3.777 GB, free: 4 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.881/12.37, allocations: 0 / 3.777 GB, free: 4 kB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat