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.001609/0.001609, allocations: 198.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.017/2.017, allocations: 227.2 MB / 245 MB, free: 5.785 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.00124, allocations: 106.4 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5317/0.5317, allocations: 45.22 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003137, allocations: 8 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4159, allocations: 63.25 MB / 0.5193 GB, free: 37.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.03/8.446, allocations: 2.805 GB / 3.324 GB, free: 169.9 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004107/8.446, allocations: 93.14 kB / 3.324 GB, free: 169.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.897/10.34, allocations: 464.9 MB / 3.778 GB, free: 67.34 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.266e-06/10.34, allocations: 0 / 3.778 GB, free: 67.34 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001168/10.34, allocations: 36.62 kB / 3.778 GB, free: 67.33 MB / 0.5417 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.01186/10.36, allocations: 2.492 MB / 3.781 GB, free: 66.05 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.48e-05/10.36, allocations: 15.81 kB / 3.781 GB, free: 66.05 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006939/10.36, allocations: 194.9 kB / 3.781 GB, free: 66.01 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003508/10.36, allocations: 450 kB / 3.781 GB, free: 65.92 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003102/10.36, allocations: 0.9834 MB / 3.782 GB, free: 65.59 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/10.36, allocations: 109.5 kB / 3.782 GB, free: 65.58 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/10.36, allocations: 133 kB / 3.782 GB, free: 65.58 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004154/10.37, allocations: 1.685 MB / 3.784 GB, free: 65.29 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-05/10.37, allocations: 11.75 kB / 3.784 GB, free: 65.29 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/10.37, allocations: 57.72 kB / 3.784 GB, free: 65.29 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.235e-05/10.37, allocations: 48.11 kB / 3.784 GB, free: 65.28 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00324/10.37, allocations: 1.374 MB / 3.786 GB, free: 65.26 MB / 0.5417 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.0104/10.38, allocations: 7.82 MB / 3.793 GB, free: 60.78 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/10.38, allocations: 0.9424 MB / 3.794 GB, free: 60.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04573/10.43, allocations: 26.73 MB / 3.82 GB, free: 43.37 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/10.43, allocations: 46.17 kB / 3.82 GB, free: 43.33 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=71): time 4.208e-06/10.43, allocations: 0 / 3.82 GB, free: 43.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=74): time 0.008596/10.44, allocations: 2.97 MB / 3.823 GB, free: 42.66 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/10.44, allocations: 137.1 kB / 3.823 GB, free: 42.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/10.44, allocations: 0.8582 MB / 3.824 GB, free: 42.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.807e-05/10.44, allocations: 39.11 kB / 3.824 GB, free: 42.31 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/10.44, allocations: 0.7003 MB / 3.825 GB, free: 41.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/10.44, allocations: 266.1 kB / 3.825 GB, free: 41.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/10.44, allocations: 25.84 kB / 3.825 GB, free: 41.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/10.44, allocations: 346.6 kB / 3.825 GB, free: 41.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007207/10.44, allocations: 344.5 kB / 3.826 GB, free: 41.49 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008782/10.44, allocations: 0.7753 MB / 3.827 GB, free: 40.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008223/10.44, allocations: 460 kB / 3.827 GB, free: 40.89 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/10.44, allocations: 3.656 kB / 3.827 GB, free: 40.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002444/10.45, allocations: 1.305 MB / 3.828 GB, free: 40.75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001208/10.45, allocations: 5.669 MB / 3.834 GB, free: 34.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/10.45, allocations: 11.41 kB / 3.834 GB, free: 34.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/10.45, allocations: 264.3 kB / 3.834 GB, free: 34.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009615/10.45, allocations: 288 kB / 3.834 GB, free: 34.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008146/10.45, allocations: 0.7621 MB / 3.835 GB, free: 34.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/10.45, allocations: 101.2 kB / 3.835 GB, free: 34.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.764e-05/10.45, allocations: 66.92 kB / 3.835 GB, free: 34.21 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/10.45, allocations: 7.875 kB / 3.835 GB, free: 34.21 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002165/10.45, allocations: 1.164 MB / 3.836 GB, free: 34.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/10.45, allocations: 18.58 kB / 3.836 GB, free: 34.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/10.46, allocations: 204.8 kB / 3.837 GB, free: 34.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/10.46, allocations: 279.7 kB / 3.837 GB, free: 34.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007082/10.46, allocations: 0.7348 MB / 3.838 GB, free: 33.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/10.46, allocations: 107.7 kB / 3.838 GB, free: 33.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.701e-05/10.46, allocations: 61.97 kB / 3.838 GB, free: 33.49 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.0009222/10.46, allocations: 404.9 kB / 3.838 GB, free: 33.27 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/10.46, allocations: 117.8 kB / 3.838 GB, free: 33.21 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/10.46, allocations: 3.113 MB / 3.841 GB, free: 31.93 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.264e-05/10.46, allocations: 37.8 kB / 3.841 GB, free: 31.92 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/10.46, allocations: 0 / 3.841 GB, free: 31.92 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/10.46, allocations: 3.516 kB / 3.841 GB, free: 31.92 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00574/10.47, allocations: 4.681 MB / 3.846 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/10.47, allocations: 3.656 kB / 3.846 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006313/10.47, allocations: 172 kB / 3.846 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/10.47, allocations: 1.033 MB / 3.847 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/10.47, allocations: 27.34 kB / 3.847 GB, free: 29.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/10.47, allocations: 1.378 MB / 3.848 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/10.47, allocations: 3.688 kB / 3.848 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004132/10.48, allocations: 3.194 MB / 3.852 GB, free: 26.96 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000984/10.48, allocations: 439.4 kB / 3.852 GB, free: 26.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/10.48, allocations: 19.78 kB / 3.852 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007719/10.48, allocations: 84.61 kB / 3.852 GB, free: 26.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/10.48, allocations: 66.39 kB / 3.852 GB, free: 26.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.056e-05/10.48, allocations: 38.5 kB / 3.852 GB, free: 26.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00123/10.48, allocations: 0.8554 MB / 3.853 GB, free: 26.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/10.48, allocations: 0 / 3.853 GB, free: 26.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0078/10.49, allocations: 1.688 MB / 3.855 GB, free: 25.94 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.01353/10.5, allocations: 5.495 MB / 3.86 GB, free: 23.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003774/10.51, allocations: 1.776 MB / 3.862 GB, free: 22.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/10.51, allocations: 3.438 kB / 3.862 GB, free: 22.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/10.51, allocations: 0.8298 MB / 3.863 GB, free: 22.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/10.51, allocations: 459.2 kB / 3.863 GB, free: 22.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/10.52, allocations: 15.85 MB / 3.878 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008229/10.52, allocations: 1.399 MB / 3.88 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001924/10.53, allocations: 0.7043 MB / 3.881 GB, free: 7.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009968/10.53, allocations: 0.725 MB / 3.881 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of SimCode: time 1.613e-06/10.53, allocations: 4 kB / 3.881 GB, free: 6.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5583/11.08, allocations: 66.69 MB / 3.946 GB, free: 79.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/11.09, allocations: 286.9 kB / 3.947 GB, free: 78.75 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.579/15.66, allocations: 0 / 3.947 GB, free: 78.75 MB / 0.5573 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