Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",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.001126/0.001126, allocations: 183 kB / 13.19 MB, free: 2.129 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.702/1.702, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008421/0.0008421, allocations: 93.84 kB / 267.1 MB, free: 9.273 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.4506/0.4506, allocations: 43.47 MB / 358.6 MB, free: 52.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.459e-05, allocations: 4 kB / 425.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1454, allocations: 58.84 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.932/8.078, allocations: 2.781 GB / 3.254 GB, free: 46.49 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003752/8.078, allocations: 91.11 kB / 3.254 GB, free: 46.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.782/9.861, allocations: 438.9 MB / 3.683 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.565e-06/9.861, allocations: 0 / 3.683 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.027e-05/9.861, allocations: 19.28 kB / 3.683 GB, free: 13.62 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008896/9.87, allocations: 1.775 MB / 3.685 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/9.87, allocations: 8.031 kB / 3.685 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002183/9.87, allocations: 99.72 kB / 3.685 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/9.873, allocations: 326.7 kB / 3.685 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/9.874, allocations: 0.5674 MB / 3.686 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.774e-05/9.874, allocations: 45.31 kB / 3.686 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-05/9.874, allocations: 52.69 kB / 3.686 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/9.877, allocations: 0.9794 MB / 3.687 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/9.877, allocations: 0 / 3.687 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/9.877, allocations: 24 kB / 3.687 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-05/9.877, allocations: 21 kB / 3.687 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/9.879, allocations: 0.8118 MB / 3.688 GB, free: 8.781 MB / 0.5105 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.006454/9.885, allocations: 4.77 MB / 3.692 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/9.887, allocations: 0.7045 MB / 3.693 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/9.887, allocations: 217.6 kB / 3.693 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5013/10.39, allocations: 24.23 MB / 3.717 GB, free: 48.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.924e-05/10.39, allocations: 39.31 kB / 3.717 GB, free: 48.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 3.106e-06/10.39, allocations: 3.312 kB / 3.717 GB, free: 48.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.003588/10.39, allocations: 1.018 MB / 3.718 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/10.39, allocations: 110.8 kB / 3.718 GB, free: 48.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007584/10.39, allocations: 461.4 kB / 3.719 GB, free: 48.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.633e-05/10.39, allocations: 35.02 kB / 3.719 GB, free: 48.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/10.39, allocations: 331.9 kB / 3.719 GB, free: 48.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/10.39, allocations: 154.3 kB / 3.719 GB, free: 47.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/10.39, allocations: 10.59 kB / 3.719 GB, free: 47.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001665/10.39, allocations: 372.7 kB / 3.719 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/10.39, allocations: 167.8 kB / 3.72 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/10.39, allocations: 347.3 kB / 3.72 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/10.4, allocations: 199.6 kB / 3.72 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/10.4, allocations: 4.75 kB / 3.72 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001237/10.4, allocations: 0.6611 MB / 3.721 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008083/10.4, allocations: 2.092 MB / 3.723 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/10.4, allocations: 3.844 kB / 3.723 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/10.4, allocations: 264.9 kB / 3.723 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/10.4, allocations: 143.5 kB / 3.723 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009822/10.4, allocations: 0.7468 MB / 3.724 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009078/10.4, allocations: 132.8 kB / 3.724 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/10.4, allocations: 32.53 kB / 3.724 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/10.4, allocations: 3.656 kB / 3.724 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001452/10.4, allocations: 0.6047 MB / 3.725 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/10.4, allocations: 5.281 kB / 3.725 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008279/10.4, allocations: 181.8 kB / 3.725 GB, free: 44.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/10.4, allocations: 151.8 kB / 3.725 GB, free: 44.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005675/10.4, allocations: 0.7123 MB / 3.726 GB, free: 44.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007454/10.41, allocations: 116.6 kB / 3.726 GB, free: 44.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/10.41, allocations: 29.33 kB / 3.726 GB, free: 44.09 MB / 0.5105 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.0002271/10.41, allocations: 145.3 kB / 3.726 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/10.41, allocations: 65.52 kB / 3.726 GB, free: 43.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/10.41, allocations: 2.794 MB / 3.729 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.843e-05/10.41, allocations: 38.08 kB / 3.729 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/10.41, allocations: 0 / 3.729 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/10.41, allocations: 3.469 kB / 3.729 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/10.41, allocations: 1.382 MB / 3.73 GB, free: 43.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/10.41, allocations: 3.953 kB / 3.73 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/10.41, allocations: 106 kB / 3.73 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002089/10.41, allocations: 1.217 MB / 3.731 GB, free: 43.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.332e-05/10.41, allocations: 11.19 kB / 3.731 GB, free: 43.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/10.42, allocations: 1.475 MB / 3.733 GB, free: 42.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/10.42, allocations: 9.594 kB / 3.733 GB, free: 42.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/10.42, allocations: 1.777 MB / 3.735 GB, free: 42.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005903/10.42, allocations: 367.9 kB / 3.735 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/10.42, allocations: 12.64 kB / 3.735 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000606/10.42, allocations: 94.52 kB / 3.735 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/10.42, allocations: 41.52 kB / 3.735 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/10.42, allocations: 23.44 kB / 3.735 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007712/10.42, allocations: 0.5461 MB / 3.736 GB, free: 42.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.81e-07/10.42, allocations: 0 / 3.736 GB, free: 42.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008011/10.43, allocations: 1.437 MB / 3.737 GB, free: 42.26 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: 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.01369/10.44, allocations: 3.65 MB / 3.741 GB, free: 41.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002747/10.44, allocations: 1.059 MB / 3.742 GB, free: 41.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/10.44, allocations: 0 / 3.742 GB, free: 41.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008605/10.44, allocations: 0.6129 MB / 3.742 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/10.45, allocations: 336.1 kB / 3.743 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007374/10.45, allocations: 2.237 MB / 3.745 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000734/10.46, allocations: 1.152 MB / 3.746 GB, free: 40.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001539/10.46, allocations: 0.6778 MB / 3.747 GB, free: 40.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004776/10.46, allocations: 403.2 kB / 3.747 GB, free: 40.15 MB / 0.5105 GB Notification: Performance of SimCode: time 3.016e-06/10.46, allocations: 2.625 kB / 3.747 GB, free: 40.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1404/10.6, allocations: 58.27 MB / 3.804 GB, free: 37.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/10.6, allocations: 258.9 kB / 3.804 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.962/14.56, allocations: 4 kB / 3.804 GB, free: 37.05 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat