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.001602/0.001602, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 82.64 kB / 261.7 MB, free: 1.688 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.2776/0.2776, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.568e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1641, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.12/8.284, allocations: 2.797 GB / 3.263 GB, free: 71.62 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/8.285, allocations: 87.95 kB / 3.263 GB, free: 71.58 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.429/9.714, allocations: 453.6 MB / 3.706 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.463e-06/9.714, allocations: 0 / 3.706 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.434e-05/9.714, allocations: 35.94 kB / 3.706 GB, free: 8.664 MB / 0.4948 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.009377/9.724, allocations: 2.304 MB / 3.708 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.793e-05/9.724, allocations: 19.97 kB / 3.708 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003501/9.727, allocations: 437.7 kB / 3.709 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/9.729, allocations: 0.9731 MB / 3.71 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.361e-05/9.73, allocations: 48 kB / 3.71 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/9.73, allocations: 75.91 kB / 3.71 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001643/9.731, allocations: 0.9346 MB / 3.711 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/9.733, allocations: 1.216 MB / 3.712 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/9.733, allocations: 4 kB / 3.712 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/9.733, allocations: 7.953 kB / 3.712 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/9.733, allocations: 50.31 kB / 3.712 GB, free: 2.43 MB / 0.4948 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.5361/10.27, allocations: 86.72 MB / 3.796 GB, free: 30.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009633/10.27, allocations: 0.495 MB / 3.797 GB, free: 30.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/10.27, allocations: 257.9 kB / 3.797 GB, free: 30.15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03224/10.3, allocations: 16.64 MB / 3.813 GB, free: 35.36 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.146e-05/10.3, allocations: 40.59 kB / 3.813 GB, free: 35.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=60): time 4.088e-06/10.3, allocations: 0 / 3.813 GB, free: 35.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=63): time 0.00675/10.31, allocations: 2.015 MB / 3.815 GB, free: 34.86 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/10.31, allocations: 139.7 kB / 3.816 GB, free: 34.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/10.31, allocations: 0.7308 MB / 3.816 GB, free: 34.55 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.147e-05/10.31, allocations: 29.7 kB / 3.816 GB, free: 34.52 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005027/10.31, allocations: 0.7298 MB / 3.817 GB, free: 34.21 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/10.31, allocations: 216.5 kB / 3.817 GB, free: 34.11 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/10.31, allocations: 0 / 3.817 GB, free: 34.11 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001717/10.31, allocations: 349.8 kB / 3.818 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/10.31, allocations: 249.3 kB / 3.818 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006387/10.31, allocations: 0.6845 MB / 3.818 GB, free: 33.24 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/10.32, allocations: 454.3 kB / 3.819 GB, free: 33.22 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/10.32, allocations: 3.656 kB / 3.819 GB, free: 33.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002556/10.32, allocations: 1.128 MB / 3.82 GB, free: 33.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002104/10.32, allocations: 5.746 MB / 3.826 GB, free: 27.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/10.32, allocations: 18.28 kB / 3.826 GB, free: 27.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007671/10.32, allocations: 198.5 kB / 3.826 GB, free: 27.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009392/10.32, allocations: 269.7 kB / 3.826 GB, free: 27.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/10.32, allocations: 0.8392 MB / 3.827 GB, free: 26.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/10.32, allocations: 109.2 kB / 3.827 GB, free: 26.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/10.32, allocations: 69.58 kB / 3.827 GB, free: 26.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/10.32, allocations: 7.219 kB / 3.827 GB, free: 26.51 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002481/10.33, allocations: 0.9482 MB / 3.828 GB, free: 26.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.601e-05/10.33, allocations: 16.38 kB / 3.828 GB, free: 26.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008723/10.33, allocations: 182 kB / 3.828 GB, free: 26.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008806/10.33, allocations: 274.8 kB / 3.828 GB, free: 26.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009219/10.33, allocations: 0.7489 MB / 3.829 GB, free: 25.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/10.33, allocations: 89.47 kB / 3.829 GB, free: 25.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/10.33, allocations: 61.23 kB / 3.829 GB, free: 25.92 MB / 0.5417 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 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.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 (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.0003941/10.33, allocations: 152.2 kB / 3.829 GB, free: 25.81 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001888/10.33, allocations: 0.6805 MB / 3.83 GB, free: 25.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/10.33, allocations: 115.5 kB / 3.83 GB, free: 25.64 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003477/10.34, allocations: 2.205 MB / 3.832 GB, free: 25.45 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/10.34, allocations: 23.89 kB / 3.832 GB, free: 25.45 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/10.34, allocations: 0 / 3.832 GB, free: 25.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/10.34, allocations: 7.703 kB / 3.832 GB, free: 25.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004853/10.34, allocations: 3.171 MB / 3.836 GB, free: 25.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/10.34, allocations: 0 / 3.836 GB, free: 25.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/10.34, allocations: 104 kB / 3.836 GB, free: 25.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00149/10.34, allocations: 1.127 MB / 3.837 GB, free: 24.96 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/10.34, allocations: 12.72 kB / 3.837 GB, free: 24.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/10.35, allocations: 1.65 MB / 3.838 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/10.35, allocations: 5.75 kB / 3.838 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/10.35, allocations: 2.325 MB / 3.841 GB, free: 23.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007382/10.35, allocations: 319.3 kB / 3.841 GB, free: 23.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/10.35, allocations: 7.375 kB / 3.841 GB, free: 23.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009178/10.35, allocations: 73.27 kB / 3.841 GB, free: 23.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/10.35, allocations: 49.25 kB / 3.841 GB, free: 23.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/10.35, allocations: 35.97 kB / 3.841 GB, free: 23.76 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001101/10.35, allocations: 0.6709 MB / 3.842 GB, free: 23.65 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/10.35, allocations: 0 / 3.842 GB, free: 23.65 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00805/10.36, allocations: 1.562 MB / 3.843 GB, free: 23.65 MB / 0.5417 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: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.01318/10.37, allocations: 4.735 MB / 3.848 GB, free: 22.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003011/10.38, allocations: 1.332 MB / 3.849 GB, free: 22.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/10.38, allocations: 2.062 kB / 3.849 GB, free: 22.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007609/10.38, allocations: 0.4986 MB / 3.85 GB, free: 22.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/10.38, allocations: 341.1 kB / 3.85 GB, free: 22.01 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008848/10.39, allocations: 2.668 MB / 3.853 GB, free: 21.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/10.39, allocations: 1.287 MB / 3.854 GB, free: 20.49 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002133/10.39, allocations: 0.8945 MB / 3.855 GB, free: 20.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007206/10.39, allocations: 0.5754 MB / 3.855 GB, free: 20.43 MB / 0.5417 GB Notification: Performance of SimCode: time 7.81e-07/10.39, allocations: 0 / 3.855 GB, free: 20.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/10.5, allocations: 55.78 MB / 3.91 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/10.5, allocations: 191.5 kB / 3.91 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.926/14.42, allocations: 0 / 3.91 GB, free: 6.867 MB / 0.5417 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