Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",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.001484/0.001483, allocations: 180.5 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.413/1.413, 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.0009913/0.0009915, allocations: 95.8 kB / 287 MB, free: 248 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.222/0.222, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.854e-05, allocations: 4 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.156, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.488/7.645, allocations: 2.787 GB / 3.289 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/7.645, allocations: 83.39 kB / 3.289 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.908/9.553, allocations: 443.6 MB / 3.722 GB, free: 62.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.669e-06/9.553, allocations: 3.516 kB / 3.722 GB, free: 62.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001037/9.553, allocations: 26.23 kB / 3.722 GB, free: 62.8 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008351/9.561, allocations: 1.771 MB / 3.724 GB, free: 61.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.113e-05/9.561, allocations: 7.938 kB / 3.724 GB, free: 61.87 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00039/9.562, allocations: 100.6 kB / 3.724 GB, free: 61.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/9.565, allocations: 328.7 kB / 3.724 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/9.567, allocations: 0.5624 MB / 3.725 GB, free: 61.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/9.567, allocations: 51.84 kB / 3.725 GB, free: 61.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/9.568, allocations: 51.25 kB / 3.725 GB, free: 61.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/9.571, allocations: 0.9789 MB / 3.726 GB, free: 60.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/9.571, allocations: 3.656 kB / 3.726 GB, free: 60.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/9.571, allocations: 23 kB / 3.726 GB, free: 60.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/9.571, allocations: 24.34 kB / 3.726 GB, free: 60.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/9.573, allocations: 0.808 MB / 3.727 GB, free: 60.65 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.006573/9.58, allocations: 4.767 MB / 3.731 GB, free: 56.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/9.581, allocations: 0.7074 MB / 3.732 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/9.582, allocations: 222.6 kB / 3.732 GB, free: 56.56 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04523/9.627, allocations: 24.24 MB / 3.756 GB, free: 41.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/9.627, allocations: 39.78 kB / 3.756 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.276e-06/9.627, allocations: 0 / 3.756 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.003648/9.631, allocations: 1.014 MB / 3.757 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/9.631, allocations: 106.8 kB / 3.757 GB, free: 40.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008621/9.632, allocations: 450.3 kB / 3.757 GB, free: 40.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-05/9.632, allocations: 37.27 kB / 3.758 GB, free: 40.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/9.632, allocations: 333 kB / 3.758 GB, free: 40.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/9.632, allocations: 164 kB / 3.758 GB, free: 40.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/9.632, allocations: 8 kB / 3.758 GB, free: 40.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000144/9.633, allocations: 372.8 kB / 3.758 GB, free: 39.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/9.633, allocations: 168.6 kB / 3.759 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/9.633, allocations: 342.7 kB / 3.759 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/9.634, allocations: 219.7 kB / 3.759 GB, free: 39.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/9.634, allocations: 0 / 3.759 GB, free: 39.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00127/9.635, allocations: 0.6571 MB / 3.76 GB, free: 38.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006536/9.636, allocations: 2.088 MB / 3.762 GB, free: 36.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/9.636, allocations: 11.03 kB / 3.762 GB, free: 36.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/9.637, allocations: 258.3 kB / 3.762 GB, free: 36.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/9.638, allocations: 148 kB / 3.762 GB, free: 36.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/9.639, allocations: 0.7579 MB / 3.763 GB, free: 36.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009597/9.64, allocations: 124.8 kB / 3.763 GB, free: 36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.38e-05/9.64, allocations: 36.42 kB / 3.763 GB, free: 35.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/9.64, allocations: 9.281 kB / 3.763 GB, free: 35.98 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001474/9.641, allocations: 0.5983 MB / 3.764 GB, free: 35.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/9.641, allocations: 3.938 kB / 3.764 GB, free: 35.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008451/9.642, allocations: 180.4 kB / 3.764 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/9.643, allocations: 154.4 kB / 3.764 GB, free: 35.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005942/9.643, allocations: 0.6995 MB / 3.765 GB, free: 35.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/9.644, allocations: 119.3 kB / 3.765 GB, free: 35.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/9.644, allocations: 28.28 kB / 3.765 GB, free: 35.06 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (56): * Single equations (assignments): 55 * 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.000228/9.645, allocations: 143.3 kB / 3.765 GB, free: 34.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/9.645, allocations: 65.84 kB / 3.765 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/9.648, allocations: 2.793 MB / 3.768 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.829e-05/9.648, allocations: 37.22 kB / 3.768 GB, free: 33.51 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/9.648, allocations: 0 / 3.768 GB, free: 33.51 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/9.648, allocations: 3.422 kB / 3.768 GB, free: 33.51 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/9.65, allocations: 1.385 MB / 3.769 GB, free: 32.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/9.65, allocations: 0 / 3.769 GB, free: 32.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/9.65, allocations: 102.2 kB / 3.769 GB, free: 32.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002276/9.653, allocations: 1.227 MB / 3.77 GB, free: 32.53 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-05/9.653, allocations: 11.64 kB / 3.77 GB, free: 32.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/9.654, allocations: 1.47 MB / 3.772 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/9.654, allocations: 7.766 kB / 3.772 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/9.656, allocations: 1.78 MB / 3.774 GB, free: 30.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000695/9.657, allocations: 367.1 kB / 3.774 GB, free: 30.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/9.657, allocations: 11.38 kB / 3.774 GB, free: 30.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008024/9.658, allocations: 93.42 kB / 3.774 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/9.658, allocations: 45.62 kB / 3.774 GB, free: 30.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.585e-05/9.658, allocations: 22.39 kB / 3.774 GB, free: 30.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000857/9.659, allocations: 0.5485 MB / 3.775 GB, free: 30.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/9.659, allocations: 0 / 3.775 GB, free: 30.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007555/9.667, allocations: 1.436 MB / 3.776 GB, free: 29.79 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: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01332/9.68, allocations: 3.637 MB / 3.78 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002872/9.683, allocations: 1.068 MB / 3.781 GB, free: 27.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/9.683, allocations: 0 / 3.781 GB, free: 27.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/9.684, allocations: 0.6213 MB / 3.781 GB, free: 27.47 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/9.687, allocations: 345.2 kB / 3.782 GB, free: 27.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009151/9.696, allocations: 2.236 MB / 3.784 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/9.697, allocations: 1.148 MB / 3.785 GB, free: 25.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001474/9.698, allocations: 0.6758 MB / 3.786 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/9.699, allocations: 402.4 kB / 3.786 GB, free: 25.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.272e-06/9.699, allocations: 0 / 3.786 GB, free: 25.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/9.81, allocations: 58.36 MB / 3.843 GB, free: 192 kB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.4658/10.28, allocations: 245.5 kB / 3.843 GB, free: 82.32 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.161/14.44, allocations: 0 / 3.843 GB, free: 82.32 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat