Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.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.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",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.00112/0.00112, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 90.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2207/0.2207, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.00043, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1398, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.619/7.759, allocations: 2.798 GB / 3.277 GB, free: 40.58 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/7.759, allocations: 89.77 kB / 3.277 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.67/9.43, allocations: 460.1 MB / 3.726 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.455e-06/9.43, allocations: 0 / 3.726 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.897e-05/9.43, allocations: 39.92 kB / 3.726 GB, free: 2.578 MB / 0.5105 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.009061/9.439, allocations: 2.498 MB / 3.729 GB, free: 24 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/9.439, allocations: 8.031 kB / 3.729 GB, free: 16 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3735/9.812, allocations: 193 kB / 3.729 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004896/9.817, allocations: 438.3 kB / 3.729 GB, free: 48.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004641/9.822, allocations: 0.9829 MB / 3.73 GB, free: 48.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/9.822, allocations: 109.4 kB / 3.73 GB, free: 48.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006321/9.823, allocations: 129.9 kB / 3.73 GB, free: 48.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005256/9.828, allocations: 1.694 MB / 3.732 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.578e-05/9.828, allocations: 10.34 kB / 3.732 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/9.829, allocations: 64.88 kB / 3.732 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.418e-05/9.829, allocations: 49.91 kB / 3.732 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003755/9.832, allocations: 1.373 MB / 3.734 GB, free: 47.84 MB / 0.5105 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.01145/9.844, allocations: 7.823 MB / 3.741 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/9.847, allocations: 0.942 MB / 3.742 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04858/9.895, allocations: 24.16 MB / 3.766 GB, free: 28.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/9.895, allocations: 41.94 kB / 3.766 GB, free: 28.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=71): time 3.006e-06/9.896, allocations: 0 / 3.766 GB, free: 28.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=74): time 0.009406/9.905, allocations: 2.959 MB / 3.769 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/9.905, allocations: 144 kB / 3.769 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/9.907, allocations: 0.8591 MB / 3.77 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.627e-05/9.907, allocations: 44.19 kB / 3.77 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005026/9.907, allocations: 0.6992 MB / 3.77 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/9.907, allocations: 253.5 kB / 3.771 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/9.908, allocations: 26.69 kB / 3.771 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001025/9.908, allocations: 349.2 kB / 3.771 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007387/9.908, allocations: 343.1 kB / 3.771 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009716/9.909, allocations: 0.7814 MB / 3.772 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/9.91, allocations: 450.6 kB / 3.772 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/9.91, allocations: 4.156 kB / 3.772 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00262/9.913, allocations: 1.312 MB / 3.774 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.003314/9.916, allocations: 5.667 MB / 3.779 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/9.916, allocations: 19.97 kB / 3.779 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/9.918, allocations: 254.8 kB / 3.78 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/9.919, allocations: 284.6 kB / 3.78 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009875/9.92, allocations: 0.7639 MB / 3.781 GB, free: 35.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/9.921, allocations: 109.9 kB / 3.781 GB, free: 35.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/9.922, allocations: 65.2 kB / 3.781 GB, free: 35.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/9.922, allocations: 3.656 kB / 3.781 GB, free: 35.88 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002339/9.924, allocations: 1.165 MB / 3.782 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-05/9.924, allocations: 12.06 kB / 3.782 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/9.925, allocations: 204.3 kB / 3.782 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009019/9.926, allocations: 278.4 kB / 3.782 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009166/9.927, allocations: 0.7351 MB / 3.783 GB, free: 35.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/9.928, allocations: 106.6 kB / 3.783 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/9.928, allocations: 66.39 kB / 3.783 GB, free: 35.32 MB / 0.5261 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.0009596/9.929, allocations: 405.4 kB / 3.784 GB, free: 35.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003801/9.93, allocations: 119.9 kB / 3.784 GB, free: 35.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004571/9.934, allocations: 3.11 MB / 3.787 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.654e-05/9.934, allocations: 39.06 kB / 3.787 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/9.934, allocations: 0 / 3.787 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/9.934, allocations: 7.547 kB / 3.787 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00689/9.941, allocations: 4.678 MB / 3.791 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/9.941, allocations: 3.562 kB / 3.791 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/9.942, allocations: 169 kB / 3.792 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002028/9.944, allocations: 1.035 MB / 3.793 GB, free: 34.24 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.992e-05/9.944, allocations: 23.89 kB / 3.793 GB, free: 34.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/9.946, allocations: 1.377 MB / 3.794 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/9.946, allocations: 6.25 kB / 3.794 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004337/9.95, allocations: 3.192 MB / 3.797 GB, free: 33.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009731/9.951, allocations: 432.3 kB / 3.797 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004152/9.951, allocations: 23.98 kB / 3.797 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/9.952, allocations: 93.3 kB / 3.798 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/9.953, allocations: 73.06 kB / 3.798 GB, free: 32.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.032e-05/9.953, allocations: 25.5 kB / 3.798 GB, free: 32.92 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001508/9.954, allocations: 0.858 MB / 3.798 GB, free: 32.81 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/9.954, allocations: 0.8438 kB / 3.798 GB, free: 32.81 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00859/9.963, allocations: 1.673 MB / 3.8 GB, free: 32.75 MB / 0.5261 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.01609/9.979, allocations: 5.476 MB / 3.805 GB, free: 31.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004654/9.984, allocations: 1.785 MB / 3.807 GB, free: 31.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/9.984, allocations: 1.406 kB / 3.807 GB, free: 31.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/9.985, allocations: 0.8243 MB / 3.808 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/9.988, allocations: 462.1 kB / 3.808 GB, free: 31.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01859/10.01, allocations: 15.83 MB / 3.824 GB, free: 18.28 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/10.01, allocations: 1.399 MB / 3.825 GB, free: 17.56 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001907/10.01, allocations: 0.7017 MB / 3.826 GB, free: 17.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/10.01, allocations: 0.7268 MB / 3.827 GB, free: 17.55 MB / 0.5261 GB Notification: Performance of SimCode: time 7.283e-06/10.01, allocations: 0 / 3.827 GB, free: 17.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/10.14, allocations: 66.38 MB / 3.891 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/10.14, allocations: 280.4 kB / 3.892 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.441/14.58, allocations: 3.953 kB / 3.892 GB, free: 13.33 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat