Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002097/0.002096, allocations: 186.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001143/0.001143, allocations: 94.03 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5316/0.5316, allocations: 43.55 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.000523, allocations: 12 kB / 431.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1354, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.958/9.093, allocations: 2.798 GB / 3.277 GB, free: 25.61 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/9.094, allocations: 94.17 kB / 3.277 GB, free: 25.55 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.758/11.85, allocations: 460.1 MB / 3.726 GB, free: 55.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.866e-06/11.85, allocations: 5.812 kB / 3.726 GB, free: 55.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001608/11.85, allocations: 37.95 kB / 3.726 GB, free: 55.63 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.01156/11.86, allocations: 2.487 MB / 3.729 GB, free: 54.42 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/11.86, allocations: 9.875 kB / 3.729 GB, free: 54.42 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007374/11.86, allocations: 199.8 kB / 3.729 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004556/11.87, allocations: 442.6 kB / 3.729 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003364/11.87, allocations: 0.988 MB / 3.73 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/11.87, allocations: 102.8 kB / 3.73 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000376/11.87, allocations: 139.8 kB / 3.73 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006108/11.88, allocations: 1.687 MB / 3.732 GB, free: 53.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.402e-05/11.88, allocations: 6.188 kB / 3.732 GB, free: 53.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/11.88, allocations: 61.62 kB / 3.732 GB, free: 53.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.092e-05/11.88, allocations: 51.52 kB / 3.732 GB, free: 53.65 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00614/11.89, allocations: 1.373 MB / 3.733 GB, free: 53.63 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.01619/11.9, allocations: 7.823 MB / 3.741 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00428/11.91, allocations: 0.954 MB / 3.742 GB, free: 49.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07896/11.99, allocations: 24.15 MB / 3.766 GB, free: 34.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/11.99, allocations: 44.59 kB / 3.766 GB, free: 34.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=71): time 3.617e-06/11.99, allocations: 0 / 3.766 GB, free: 34.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=74): time 0.01455/12, allocations: 2.973 MB / 3.769 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/12, allocations: 139 kB / 3.769 GB, free: 33.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/12, allocations: 0.857 MB / 3.77 GB, free: 33.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000203/12, allocations: 39.95 kB / 3.77 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004985/12, allocations: 0.6909 MB / 3.77 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/12, allocations: 266.1 kB / 3.771 GB, free: 32.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-05/12, allocations: 22.84 kB / 3.771 GB, free: 32.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001003/12, allocations: 355.2 kB / 3.771 GB, free: 32.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/12, allocations: 345.8 kB / 3.771 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/12.01, allocations: 0.7885 MB / 3.772 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/12.01, allocations: 453.2 kB / 3.772 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/12.01, allocations: 3.062 kB / 3.772 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004002/12.01, allocations: 1.24 MB / 3.774 GB, free: 31.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001209/12.01, allocations: 5.66 MB / 3.779 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/12.01, allocations: 15.56 kB / 3.779 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/12.02, allocations: 260.4 kB / 3.779 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/12.02, allocations: 287 kB / 3.78 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/12.02, allocations: 0.7581 MB / 3.78 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/12.02, allocations: 102.8 kB / 3.781 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/12.02, allocations: 68.88 kB / 3.781 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/12.02, allocations: 3.906 kB / 3.781 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003821/12.02, allocations: 1.17 MB / 3.782 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/12.02, allocations: 13.97 kB / 3.782 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/12.03, allocations: 186.6 kB / 3.782 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/12.03, allocations: 287.3 kB / 3.782 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/12.03, allocations: 0.7278 MB / 3.783 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/12.03, allocations: 103.7 kB / 3.783 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/12.03, allocations: 64.73 kB / 3.783 GB, free: 24.82 MB / 0.5105 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.001041/12.03, allocations: 401.3 kB / 3.783 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/12.03, allocations: 124.3 kB / 3.784 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005746/12.04, allocations: 3.109 MB / 3.787 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.226e-05/12.04, allocations: 36.23 kB / 3.787 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/12.04, allocations: 0 / 3.787 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/12.04, allocations: 12.66 kB / 3.787 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008872/12.05, allocations: 4.684 MB / 3.791 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/12.05, allocations: 3.594 kB / 3.791 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/12.05, allocations: 162.2 kB / 3.791 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002991/12.05, allocations: 1.041 MB / 3.792 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/12.05, allocations: 22.77 kB / 3.792 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/12.05, allocations: 1.378 MB / 3.794 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/12.05, allocations: 0 / 3.794 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006953/12.06, allocations: 3.195 MB / 3.797 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/12.06, allocations: 440.3 kB / 3.797 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/12.06, allocations: 14.84 kB / 3.797 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/12.06, allocations: 91.2 kB / 3.797 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/12.06, allocations: 80.39 kB / 3.797 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.589e-05/12.06, allocations: 29.5 kB / 3.798 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001734/12.07, allocations: 0.8553 MB / 3.798 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.51e-07/12.07, allocations: 0 / 3.798 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008688/12.07, allocations: 1.67 MB / 3.8 GB, free: 22.01 MB / 0.5105 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.01717/12.09, allocations: 5.477 MB / 3.805 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005452/12.1, allocations: 1.78 MB / 3.807 GB, free: 20.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/12.1, allocations: 3.938 kB / 3.807 GB, free: 20.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001856/12.1, allocations: 0.8189 MB / 3.808 GB, free: 20.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003845/12.1, allocations: 460.6 kB / 3.808 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/12.12, allocations: 15.86 MB / 3.824 GB, free: 22.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/12.12, allocations: 1.409 MB / 3.825 GB, free: 22.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/12.12, allocations: 0.7328 MB / 3.826 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of SimCode: time 1.543e-06/12.12, allocations: 0 / 3.826 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.311/16.44, allocations: 55.35 MB / 3.88 GB, free: 14.22 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat