Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.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.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",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.001865/0.001865, allocations: 180.7 kB / 17.06 MB, free: 5.094 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.511/1.511, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009613/0.0009612, allocations: 112.3 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4217/0.4217, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004165, allocations: 8 kB / 460 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4501, allocations: 61.89 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.694/8.144, allocations: 2.804 GB / 3.313 GB, free: 46.46 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/8.144, allocations: 100.7 kB / 3.314 GB, free: 46.38 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.822/9.966, allocations: 464.8 MB / 3.767 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.825e-06/9.966, allocations: 0 / 3.767 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002038/9.966, allocations: 36.17 kB / 3.767 GB, free: 1.582 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.4504/10.42, allocations: 2.482 MB / 3.77 GB, free: 41.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/10.42, allocations: 9.625 kB / 3.77 GB, free: 41.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006046/10.42, allocations: 198.6 kB / 3.77 GB, free: 41.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003559/10.42, allocations: 446.6 kB / 3.771 GB, free: 41.07 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/10.42, allocations: 0.9794 MB / 3.771 GB, free: 40.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/10.42, allocations: 111.6 kB / 3.772 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/10.42, allocations: 137.1 kB / 3.772 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/10.43, allocations: 1.693 MB / 3.773 GB, free: 40.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/10.43, allocations: 5.875 kB / 3.773 GB, free: 40.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/10.43, allocations: 55.97 kB / 3.773 GB, free: 40.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-05/10.43, allocations: 45.55 kB / 3.773 GB, free: 40.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003247/10.43, allocations: 1.377 MB / 3.775 GB, free: 40.49 MB / 0.5261 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.009733/10.44, allocations: 7.827 MB / 3.782 GB, free: 36.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002709/10.44, allocations: 0.94 MB / 3.783 GB, free: 36.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04412/10.49, allocations: 24.16 MB / 3.807 GB, free: 37.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.581e-05/10.49, allocations: 49.06 kB / 3.807 GB, free: 37.28 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=71): time 3.516e-06/10.49, allocations: 0 / 3.807 GB, free: 37.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=74): time 0.009002/10.5, allocations: 2.959 MB / 3.81 GB, free: 36.67 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/10.5, allocations: 138 kB / 3.81 GB, free: 36.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/10.5, allocations: 0.8656 MB / 3.811 GB, free: 36.36 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.877e-05/10.5, allocations: 39.98 kB / 3.811 GB, free: 36.33 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005019/10.5, allocations: 0.7049 MB / 3.812 GB, free: 36.05 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/10.5, allocations: 259.6 kB / 3.812 GB, free: 35.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/10.5, allocations: 21.03 kB / 3.812 GB, free: 35.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001709/10.5, allocations: 350.3 kB / 3.812 GB, free: 35.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007191/10.5, allocations: 343.3 kB / 3.813 GB, free: 35.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/10.5, allocations: 0.7809 MB / 3.813 GB, free: 35.09 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/10.5, allocations: 448.1 kB / 3.814 GB, free: 35.08 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/10.5, allocations: 5.922 kB / 3.814 GB, free: 35.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003214/10.51, allocations: 1.313 MB / 3.815 GB, free: 34.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002533/10.51, allocations: 5.658 MB / 3.821 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.159e-05/10.51, allocations: 20.73 kB / 3.821 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/10.51, allocations: 265.5 kB / 3.821 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/10.51, allocations: 287.7 kB / 3.821 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/10.51, allocations: 0.7552 MB / 3.822 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/10.51, allocations: 98.48 kB / 3.822 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/10.51, allocations: 69.11 kB / 3.822 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/10.51, allocations: 5.969 kB / 3.822 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002981/10.52, allocations: 1.165 MB / 3.823 GB, free: 28.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.261e-05/10.52, allocations: 15.38 kB / 3.823 GB, free: 28.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/10.52, allocations: 196.3 kB / 3.823 GB, free: 28.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/10.52, allocations: 285 kB / 3.824 GB, free: 28.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009733/10.52, allocations: 0.7429 MB / 3.824 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/10.52, allocations: 101.8 kB / 3.824 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/10.52, allocations: 65.5 kB / 3.824 GB, free: 27.98 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 133 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.001059/10.52, allocations: 406.3 kB / 3.825 GB, free: 27.79 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003927/10.52, allocations: 121.6 kB / 3.825 GB, free: 27.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004308/10.53, allocations: 3.109 MB / 3.828 GB, free: 27.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.25e-05/10.53, allocations: 34.66 kB / 3.828 GB, free: 27.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/10.53, allocations: 0 / 3.828 GB, free: 27.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/10.53, allocations: 7.516 kB / 3.828 GB, free: 27.41 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007077/10.53, allocations: 4.683 MB / 3.833 GB, free: 26.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/10.53, allocations: 4.312 kB / 3.833 GB, free: 26.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/10.54, allocations: 164.4 kB / 3.833 GB, free: 26.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/10.54, allocations: 1.036 MB / 3.834 GB, free: 26.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.748e-05/10.54, allocations: 25.59 kB / 3.834 GB, free: 26.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/10.54, allocations: 1.381 MB / 3.835 GB, free: 26.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/10.54, allocations: 2.031 kB / 3.835 GB, free: 26.28 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005184/10.54, allocations: 3.208 MB / 3.838 GB, free: 25.74 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/10.55, allocations: 434.1 kB / 3.839 GB, free: 25.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/10.55, allocations: 17.59 kB / 3.839 GB, free: 25.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008378/10.55, allocations: 88.41 kB / 3.839 GB, free: 25.51 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/10.55, allocations: 70.14 kB / 3.839 GB, free: 25.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/10.55, allocations: 29.14 kB / 3.839 GB, free: 25.51 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001446/10.55, allocations: 0.8533 MB / 3.84 GB, free: 25.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/10.55, allocations: 5.781 kB / 3.84 GB, free: 25.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00888/10.56, allocations: 1.68 MB / 3.841 GB, free: 25.34 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i,housing.T) * 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,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (72): * Single equations (assignments): 65 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0152/10.57, allocations: 5.471 MB / 3.847 GB, free: 23.76 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005183/10.58, allocations: 1.781 MB / 3.848 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/10.58, allocations: 0 / 3.848 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/10.58, allocations: 0.8264 MB / 3.849 GB, free: 23.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003609/10.58, allocations: 457.1 kB / 3.85 GB, free: 23.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/10.6, allocations: 15.84 MB / 3.865 GB, free: 26.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/10.6, allocations: 1.406 MB / 3.867 GB, free: 26.17 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001953/10.61, allocations: 0.6969 MB / 3.867 GB, free: 26.16 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008848/10.61, allocations: 0.731 MB / 3.868 GB, free: 26.15 MB / 0.5573 GB Notification: Performance of SimCode: time 1.513e-06/10.61, allocations: 0 / 3.868 GB, free: 26.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/10.72, allocations: 66.49 MB / 3.933 GB, free: 22.78 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/10.72, allocations: 281.5 kB / 3.933 GB, free: 22.43 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.586/15.31, allocations: 2.922 kB / 3.933 GB, free: 22.43 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat