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.001372/0.001372, allocations: 167.8 kB / 8.738 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.5 MB / 230.7 MB, free: 7.516 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.0009343/0.0009345, allocations: 103.3 kB / 281.6 MB, free: 5.254 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.2505/0.2505, allocations: 44.16 MB / 376.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.271e-05, allocations: 3.938 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1618, allocations: 61.91 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.634/8.796, allocations: 2.803 GB / 3.298 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/8.796, allocations: 84.86 kB / 3.298 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.577/10.37, allocations: 459 MB / 3.746 GB, free: 72.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.92e-07/10.37, allocations: 0 / 3.746 GB, free: 72.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.356e-05/10.37, allocations: 35.89 kB / 3.746 GB, free: 72.84 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.008869/10.38, allocations: 2.325 MB / 3.749 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/10.38, allocations: 11.83 kB / 3.749 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/10.39, allocations: 447.7 kB / 3.749 GB, free: 71.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/10.39, allocations: 0.9794 MB / 3.75 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-05/10.39, allocations: 48.34 kB / 3.75 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002971/10.39, allocations: 86.41 kB / 3.75 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002913/10.39, allocations: 0.9565 MB / 3.751 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003039/10.4, allocations: 1.23 MB / 3.752 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.134e-05/10.4, allocations: 11.62 kB / 3.752 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/10.4, allocations: 3.656 kB / 3.752 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-05/10.4, allocations: 49.34 kB / 3.752 GB, free: 70.92 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.2098/10.61, allocations: 86.74 MB / 3.837 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/10.61, allocations: 0.5064 MB / 3.837 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/10.61, allocations: 271.2 kB / 3.838 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.047/10.65, allocations: 16.64 MB / 3.854 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/10.65, allocations: 48.86 kB / 3.854 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=63): time 4.779e-06/10.65, allocations: 0 / 3.854 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=66): time 0.009991/10.66, allocations: 2.048 MB / 3.856 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/10.66, allocations: 137.1 kB / 3.856 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/10.67, allocations: 0.7293 MB / 3.857 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.611e-05/10.67, allocations: 25.7 kB / 3.857 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00055/10.67, allocations: 0.7285 MB / 3.858 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/10.67, allocations: 232.3 kB / 3.858 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/10.67, allocations: 0 / 3.858 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001904/10.67, allocations: 347.5 kB / 3.858 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005921/10.67, allocations: 258.4 kB / 3.858 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009061/10.67, allocations: 0.6881 MB / 3.859 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/10.67, allocations: 464.3 kB / 3.859 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/10.67, allocations: 4 kB / 3.859 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004005/10.67, allocations: 1.129 MB / 3.861 GB, free: 6.945 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002732/10.68, allocations: 5.662 MB / 3.866 GB, free: 0.8672 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/10.68, allocations: 16 kB / 3.866 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006988/10.68, allocations: 151.1 kB / 3.866 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/10.68, allocations: 279.9 kB / 3.867 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4245/11.1, allocations: 0.7765 MB / 3.867 GB, free: 87.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/11.11, allocations: 113.2 kB / 3.867 GB, free: 87.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/11.11, allocations: 65.23 kB / 3.867 GB, free: 87.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/11.11, allocations: 4.156 kB / 3.867 GB, free: 87.47 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002302/11.11, allocations: 0.9273 MB / 3.868 GB, free: 87.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/11.11, allocations: 18.16 kB / 3.868 GB, free: 87.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007966/11.11, allocations: 156 kB / 3.869 GB, free: 87.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009292/11.11, allocations: 288.5 kB / 3.869 GB, free: 87.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005895/11.11, allocations: 0.6988 MB / 3.87 GB, free: 86.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/11.11, allocations: 95.25 kB / 3.87 GB, free: 86.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/11.11, allocations: 63.7 kB / 3.87 GB, free: 86.94 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 (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 (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.0003155/11.11, allocations: 148.3 kB / 3.87 GB, free: 86.83 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002038/11.11, allocations: 0.6863 MB / 3.87 GB, free: 86.79 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/11.11, allocations: 109.4 kB / 3.871 GB, free: 86.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004301/11.12, allocations: 2.247 MB / 3.873 GB, free: 86.67 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-05/11.12, allocations: 25.17 kB / 3.873 GB, free: 86.67 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/11.12, allocations: 2 kB / 3.873 GB, free: 86.67 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/11.12, allocations: 5.984 kB / 3.873 GB, free: 86.67 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005686/11.13, allocations: 3.225 MB / 3.876 GB, free: 86.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/11.13, allocations: 1.094 kB / 3.876 GB, free: 86.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005625/11.13, allocations: 127.7 kB / 3.876 GB, free: 86.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/11.13, allocations: 1.216 MB / 3.877 GB, free: 86.23 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/11.13, allocations: 3.969 kB / 3.877 GB, free: 86.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/11.13, allocations: 1.574 MB / 3.879 GB, free: 85.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/11.13, allocations: 2.938 kB / 3.879 GB, free: 85.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/11.13, allocations: 2.45 MB / 3.881 GB, free: 85.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009051/11.13, allocations: 332.9 kB / 3.882 GB, free: 85.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/11.13, allocations: 6.344 kB / 3.882 GB, free: 85.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007693/11.13, allocations: 67.67 kB / 3.882 GB, free: 85.12 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/11.13, allocations: 56.7 kB / 3.882 GB, free: 85.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.983e-05/11.13, allocations: 29.8 kB / 3.882 GB, free: 85.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001295/11.14, allocations: 0.6677 MB / 3.882 GB, free: 85 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/11.14, allocations: 0 / 3.882 GB, free: 85 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00927/11.15, allocations: 1.585 MB / 3.884 GB, free: 85 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: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0132/11.16, allocations: 4.748 MB / 3.889 GB, free: 83.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002895/11.16, allocations: 1.343 MB / 3.89 GB, free: 83.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/11.16, allocations: 2 kB / 3.89 GB, free: 83.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007421/11.16, allocations: 0.5063 MB / 3.89 GB, free: 83.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/11.16, allocations: 357.5 kB / 3.891 GB, free: 83.49 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008431/11.17, allocations: 2.768 MB / 3.893 GB, free: 82.85 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000861/11.17, allocations: 1.286 MB / 3.895 GB, free: 82.13 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00198/11.18, allocations: 0.8662 MB / 3.895 GB, free: 82.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006732/11.18, allocations: 0.6053 MB / 3.896 GB, free: 82.11 MB / 0.5417 GB Notification: Performance of SimCode: time 1.072e-06/11.18, allocations: 0 / 3.896 GB, free: 82.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/11.28, allocations: 56.06 MB / 3.951 GB, free: 80.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/11.28, allocations: 208.7 kB / 3.951 GB, free: 79.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.007/15.29, allocations: 0 / 3.951 GB, free: 79.84 MB / 0.5417 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