Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001548/0.001549, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.587/1.587, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008931/0.0008932, allocations: 101.6 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2534/0.2534, allocations: 45.14 MB / 383.7 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.065e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1573, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.426/8.583, allocations: 2.804 GB / 3.309 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/8.584, allocations: 91.84 kB / 3.309 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.651/10.23, allocations: 459.2 MB / 3.757 GB, free: 50.01 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.393e-06/10.23, allocations: 0 / 3.757 GB, free: 50.01 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001441/10.24, allocations: 40.11 kB / 3.757 GB, free: 50 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.009213/10.24, allocations: 2.324 MB / 3.759 GB, free: 48.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.583e-05/10.24, allocations: 14.72 kB / 3.759 GB, free: 48.65 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003468/10.25, allocations: 448.6 kB / 3.76 GB, free: 48.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/10.25, allocations: 0.9805 MB / 3.761 GB, free: 47.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.509e-05/10.25, allocations: 46.81 kB / 3.761 GB, free: 47.94 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000417/10.25, allocations: 78.19 kB / 3.761 GB, free: 47.94 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002453/10.25, allocations: 0.9559 MB / 3.762 GB, free: 47.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/10.26, allocations: 1.241 MB / 3.763 GB, free: 46.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.143e-05/10.26, allocations: 7.906 kB / 3.763 GB, free: 46.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/10.26, allocations: 7.953 kB / 3.763 GB, free: 46.35 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-05/10.26, allocations: 50.3 kB / 3.763 GB, free: 46.3 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.5251/10.78, allocations: 95.52 MB / 3.856 GB, free: 47.91 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009948/10.78, allocations: 0.5093 MB / 3.857 GB, free: 47.88 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/10.78, allocations: 269.4 kB / 3.857 GB, free: 47.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02987/10.81, allocations: 18.5 MB / 3.875 GB, free: 35.42 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/10.81, allocations: 39 kB / 3.875 GB, free: 35.38 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=63): time 3.186e-06/10.81, allocations: 0 / 3.875 GB, free: 35.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=66): time 0.006792/10.82, allocations: 2.044 MB / 3.877 GB, free: 34.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/10.82, allocations: 143.3 kB / 3.877 GB, free: 34.77 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/10.82, allocations: 0.7252 MB / 3.878 GB, free: 34.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/10.82, allocations: 25.7 kB / 3.878 GB, free: 34.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005341/10.82, allocations: 0.7379 MB / 3.879 GB, free: 34.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/10.82, allocations: 228 kB / 3.879 GB, free: 34.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/10.82, allocations: 0 / 3.879 GB, free: 34.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.448e-05/10.82, allocations: 351 kB / 3.879 GB, free: 33.87 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/10.82, allocations: 255.3 kB / 3.88 GB, free: 33.87 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005572/10.82, allocations: 0.6937 MB / 3.88 GB, free: 33.32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/10.82, allocations: 452.5 kB / 3.881 GB, free: 33.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/10.82, allocations: 3.312 kB / 3.881 GB, free: 33.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002392/10.83, allocations: 1.13 MB / 3.882 GB, free: 33.17 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001165/10.83, allocations: 5.668 MB / 3.887 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/10.83, allocations: 16.62 kB / 3.887 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005538/10.83, allocations: 150.3 kB / 3.887 GB, free: 27.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/10.83, allocations: 286.3 kB / 3.888 GB, free: 27.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008682/10.83, allocations: 0.7736 MB / 3.889 GB, free: 26.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/10.83, allocations: 121 kB / 3.889 GB, free: 26.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-05/10.83, allocations: 65.39 kB / 3.889 GB, free: 26.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/10.83, allocations: 5.531 kB / 3.889 GB, free: 26.68 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001923/10.83, allocations: 0.9255 MB / 3.89 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/10.83, allocations: 15.09 kB / 3.89 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007304/10.83, allocations: 156.4 kB / 3.89 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/10.84, allocations: 289.7 kB / 3.89 GB, free: 26.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005365/10.84, allocations: 0.7046 MB / 3.891 GB, free: 26.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/10.84, allocations: 97.48 kB / 3.891 GB, free: 26.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.175e-05/10.84, allocations: 63.92 kB / 3.891 GB, free: 26.09 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.0003002/10.84, allocations: 143.8 kB / 3.891 GB, free: 25.99 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001653/10.84, allocations: 0.6893 MB / 3.892 GB, free: 25.88 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/10.84, allocations: 108.3 kB / 3.892 GB, free: 25.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003459/10.84, allocations: 2.244 MB / 3.894 GB, free: 25.63 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/10.84, allocations: 24.58 kB / 3.894 GB, free: 25.63 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/10.84, allocations: 0 / 3.894 GB, free: 25.63 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/10.84, allocations: 11.34 kB / 3.894 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004218/10.85, allocations: 3.229 MB / 3.897 GB, free: 25.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/10.85, allocations: 3.312 kB / 3.897 GB, free: 25.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004927/10.85, allocations: 122.1 kB / 3.897 GB, free: 25.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00125/10.85, allocations: 1.207 MB / 3.898 GB, free: 25.15 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/10.85, allocations: 11.75 kB / 3.898 GB, free: 25.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/10.85, allocations: 1.573 MB / 3.9 GB, free: 24.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/10.85, allocations: 0 / 3.9 GB, free: 24.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/10.85, allocations: 2.455 MB / 3.902 GB, free: 24.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005547/10.85, allocations: 328.8 kB / 3.903 GB, free: 23.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/10.85, allocations: 10.67 kB / 3.903 GB, free: 23.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006924/10.85, allocations: 67.95 kB / 3.903 GB, free: 23.96 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/10.85, allocations: 56.38 kB / 3.903 GB, free: 23.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/10.85, allocations: 24.5 kB / 3.903 GB, free: 23.96 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008737/10.86, allocations: 0.6671 MB / 3.904 GB, free: 23.85 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/10.86, allocations: 0 / 3.904 GB, free: 23.85 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007149/10.86, allocations: 1.596 MB / 3.905 GB, free: 23.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.01174/10.87, allocations: 4.765 MB / 3.91 GB, free: 22.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002813/10.88, allocations: 1.337 MB / 3.911 GB, free: 22.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/10.88, allocations: 0 / 3.911 GB, free: 22.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007317/10.88, allocations: 0.51 MB / 3.912 GB, free: 22.22 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/10.88, allocations: 350.7 kB / 3.912 GB, free: 22.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008275/10.89, allocations: 2.767 MB / 3.915 GB, free: 21.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/10.89, allocations: 1.287 MB / 3.916 GB, free: 20.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001715/10.89, allocations: 0.8735 MB / 3.917 GB, free: 20.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006504/10.89, allocations: 0.6099 MB / 3.917 GB, free: 20.54 MB / 0.5417 GB Notification: Performance of SimCode: time 1.032e-06/10.89, allocations: 0 / 3.917 GB, free: 20.54 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/10.99, allocations: 56.12 MB / 3.972 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/10.99, allocations: 200.9 kB / 3.972 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.193/15.19, allocations: 4 kB / 3.972 GB, free: 14.97 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat