Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",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.001746/0.001746, allocations: 183.7 kB / 15.76 MB, free: 6.367 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.825/1.825, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001023/0.001023, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.2518/0.2518, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1442, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.38/7.524, allocations: 2.797 GB / 3.276 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/7.524, allocations: 87.92 kB / 3.276 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.702/9.226, allocations: 459.4 MB / 3.725 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.128e-06/9.226, allocations: 0 / 3.725 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001853/9.226, allocations: 38.5 kB / 3.725 GB, free: 49.97 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.01178/9.238, allocations: 2.473 MB / 3.727 GB, free: 48.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/9.238, allocations: 7.75 kB / 3.727 GB, free: 48.52 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001042/9.239, allocations: 202 kB / 3.728 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003863/9.243, allocations: 439.4 kB / 3.728 GB, free: 48.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003474/9.247, allocations: 0.9656 MB / 3.729 GB, free: 47.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/9.247, allocations: 105.8 kB / 3.729 GB, free: 47.65 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000485/9.247, allocations: 135.7 kB / 3.729 GB, free: 47.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004671/9.252, allocations: 1.67 MB / 3.731 GB, free: 46.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.479e-05/9.252, allocations: 10.88 kB / 3.731 GB, free: 46.83 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002232/9.252, allocations: 58.17 kB / 3.731 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/9.252, allocations: 46.34 kB / 3.731 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003529/9.256, allocations: 1.354 MB / 3.732 GB, free: 46.38 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.01151/9.267, allocations: 7.855 MB / 3.74 GB, free: 40.47 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/9.27, allocations: 0.9409 MB / 3.741 GB, free: 40.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04482/9.315, allocations: 24.15 MB / 3.764 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.054e-05/9.315, allocations: 47.11 kB / 3.765 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 2.885e-06/9.315, allocations: 0 / 3.765 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71): time 0.01133/9.326, allocations: 3.033 MB / 3.767 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.273e-05/9.327, allocations: 141.1 kB / 3.768 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/9.328, allocations: 0.865 MB / 3.768 GB, free: 11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/9.329, allocations: 37.7 kB / 3.768 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004659/9.329, allocations: 0.6971 MB / 3.769 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/9.329, allocations: 249.8 kB / 3.769 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/9.329, allocations: 27.94 kB / 3.769 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001145/9.33, allocations: 345.9 kB / 3.77 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007105/9.33, allocations: 334.4 kB / 3.77 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008959/9.331, allocations: 0.7802 MB / 3.771 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008862/9.332, allocations: 451 kB / 3.771 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/9.332, allocations: 4 kB / 3.771 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002707/9.335, allocations: 1.313 MB / 3.773 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001652/9.336, allocations: 5.742 MB / 3.778 GB, free: 364 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/9.337, allocations: 16 kB / 3.778 GB, free: 348 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/9.338, allocations: 315 kB / 3.778 GB, free: 32 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00097/9.339, allocations: 271.6 kB / 3.779 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/9.341, allocations: 0.8137 MB / 3.78 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/9.342, allocations: 95.83 kB / 3.78 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/9.342, allocations: 67.97 kB / 3.78 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/9.342, allocations: 4 kB / 3.78 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003083/9.345, allocations: 1.187 MB / 3.781 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.876e-05/9.346, allocations: 16.81 kB / 3.781 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/9.347, allocations: 224.7 kB / 3.781 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009964/9.348, allocations: 267.5 kB / 3.781 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/9.349, allocations: 0.7941 MB / 3.782 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/9.35, allocations: 95.84 kB / 3.782 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/9.351, allocations: 63.98 kB / 3.782 GB, free: 12.09 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (128): * Single equations (assignments): 127 * 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.001131/9.352, allocations: 396.7 kB / 3.783 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000407/9.352, allocations: 118.5 kB / 3.783 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00568/9.358, allocations: 3.118 MB / 3.786 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.073e-05/9.358, allocations: 43.94 kB / 3.786 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/9.358, allocations: 0 / 3.786 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/9.358, allocations: 7.984 kB / 3.786 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/9.368, allocations: 4.646 MB / 3.79 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/9.368, allocations: 96 / 3.79 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007095/9.369, allocations: 156 kB / 3.791 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002848/9.372, allocations: 1.081 MB / 3.792 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/9.372, allocations: 19.98 kB / 3.792 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/9.374, allocations: 1.446 MB / 3.793 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/9.374, allocations: 3.984 kB / 3.793 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3677/9.741, allocations: 2.988 MB / 3.796 GB, free: 71.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009659/9.742, allocations: 429 kB / 3.796 GB, free: 71.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/9.743, allocations: 16.16 kB / 3.796 GB, free: 71.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008694/9.744, allocations: 90.53 kB / 3.796 GB, free: 71.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/9.744, allocations: 71.75 kB / 3.797 GB, free: 71.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.028e-05/9.744, allocations: 27.62 kB / 3.797 GB, free: 71.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00133/9.745, allocations: 0.8618 MB / 3.797 GB, free: 71.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.002e-06/9.745, allocations: 0 / 3.797 GB, free: 71.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007662/9.753, allocations: 1.66 MB / 3.799 GB, free: 71.15 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i) * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 58 * 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.014/9.767, allocations: 5.451 MB / 3.804 GB, free: 69.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006194/9.773, allocations: 1.764 MB / 3.806 GB, free: 69.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/9.773, allocations: 0.9688 kB / 3.806 GB, free: 69.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002168/9.775, allocations: 0.8225 MB / 3.807 GB, free: 69.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003647/9.779, allocations: 449.8 kB / 3.807 GB, free: 69.72 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02155/9.801, allocations: 15.82 MB / 3.823 GB, free: 56.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/9.802, allocations: 1.39 MB / 3.824 GB, free: 56.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002354/9.805, allocations: 0.732 MB / 3.825 GB, free: 56.13 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/9.806, allocations: 0.6901 MB / 3.825 GB, free: 56.12 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/9.806, allocations: 1.969 kB / 3.825 GB, free: 56.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1185/9.924, allocations: 66.07 MB / 3.89 GB, free: 53.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/9.925, allocations: 274.8 kB / 3.89 GB, free: 52.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.727/14.65, allocations: 6.594 kB / 3.89 GB, free: 52.8 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat