Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",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.002253/0.002253, allocations: 178 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 90.81 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3022/0.3022, allocations: 43.48 MB / 353.5 MB, free: 2.297 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.602e-05, allocations: 224 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4312, allocations: 58.86 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.694/9.126, allocations: 2.797 GB / 3.263 GB, free: 95.98 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/9.126, allocations: 85.5 kB / 3.263 GB, free: 95.98 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.294/11.42, allocations: 453.7 MB / 3.706 GB, free: 62.42 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.465e-06/11.42, allocations: 0 / 3.706 GB, free: 62.42 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0002268/11.42, allocations: 32 kB / 3.706 GB, free: 62.42 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.01371/11.43, allocations: 2.304 MB / 3.708 GB, free: 61.29 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.778e-05/11.43, allocations: 10.56 kB / 3.708 GB, free: 61.29 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007398/11.44, allocations: 443.3 kB / 3.709 GB, free: 61.2 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004684/11.45, allocations: 0.97 MB / 3.709 GB, free: 60.87 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/11.45, allocations: 48.5 kB / 3.71 GB, free: 60.87 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004038/11.45, allocations: 78.38 kB / 3.71 GB, free: 60.87 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004187/11.45, allocations: 0.9376 MB / 3.711 GB, free: 60.86 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004611/11.46, allocations: 1.213 MB / 3.712 GB, free: 60.58 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-05/11.46, allocations: 11.52 kB / 3.712 GB, free: 60.57 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/11.46, allocations: 3.781 kB / 3.712 GB, free: 60.57 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.696e-05/11.46, allocations: 49.28 kB / 3.712 GB, free: 60.57 MB / 0.5108 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.3371/11.79, allocations: 86.74 MB / 3.796 GB, free: 22.62 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/11.79, allocations: 499.9 kB / 3.797 GB, free: 22.59 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005342/11.8, allocations: 260.4 kB / 3.797 GB, free: 22.58 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05418/11.85, allocations: 16.64 MB / 3.813 GB, free: 27.76 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.71e-05/11.85, allocations: 47.61 kB / 3.813 GB, free: 27.72 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=60): time 3.136e-06/11.85, allocations: 0 / 3.813 GB, free: 27.72 MB / 0.5421 GB Notification: Performance of matching and sorting (n=63): time 0.009831/11.86, allocations: 2.005 MB / 3.815 GB, free: 27.18 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/11.86, allocations: 149.3 kB / 3.816 GB, free: 27.02 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/11.86, allocations: 0.7342 MB / 3.816 GB, free: 26.85 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0002135/11.86, allocations: 25.7 kB / 3.816 GB, free: 26.82 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005567/11.86, allocations: 0.7359 MB / 3.817 GB, free: 26.37 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/11.86, allocations: 220.2 kB / 3.817 GB, free: 26.23 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.757e-05/11.86, allocations: 2.078 kB / 3.817 GB, free: 26.23 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001953/11.86, allocations: 352.4 kB / 3.818 GB, free: 25.92 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006195/11.86, allocations: 248.2 kB / 3.818 GB, free: 25.91 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008708/11.86, allocations: 0.6859 MB / 3.818 GB, free: 25.35 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/11.87, allocations: 457.5 kB / 3.819 GB, free: 25.32 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.088e-05/11.87, allocations: 7.891 kB / 3.819 GB, free: 25.31 MB / 0.5421 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003705/11.87, allocations: 1.066 MB / 3.82 GB, free: 25.22 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.002446/11.87, allocations: 5.744 MB / 3.826 GB, free: 19.19 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.563e-05/11.87, allocations: 15.34 kB / 3.826 GB, free: 19.19 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/11.87, allocations: 195.2 kB / 3.826 GB, free: 19.18 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/11.88, allocations: 271 kB / 3.826 GB, free: 19.18 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/11.88, allocations: 0.8356 MB / 3.827 GB, free: 18.65 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/11.88, allocations: 120.4 kB / 3.827 GB, free: 18.63 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/11.88, allocations: 64.23 kB / 3.827 GB, free: 18.63 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/11.88, allocations: 6.844 kB / 3.827 GB, free: 18.63 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003853/11.88, allocations: 0.9499 MB / 3.828 GB, free: 18.59 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/11.88, allocations: 18.34 kB / 3.828 GB, free: 18.59 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/11.88, allocations: 161.4 kB / 3.828 GB, free: 18.58 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/11.89, allocations: 284.7 kB / 3.828 GB, free: 18.57 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/11.89, allocations: 0.7355 MB / 3.829 GB, free: 18.05 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/11.89, allocations: 89.36 kB / 3.829 GB, free: 18.04 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/11.89, allocations: 62.42 kB / 3.829 GB, free: 18.04 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (128): * Single equations (assignments): 127 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003634/11.89, allocations: 146.2 kB / 3.829 GB, free: 17.93 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002632/11.89, allocations: 0.6856 MB / 3.83 GB, free: 17.82 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/11.89, allocations: 108.8 kB / 3.83 GB, free: 17.76 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005219/11.9, allocations: 2.205 MB / 3.832 GB, free: 17.55 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.795e-05/11.9, allocations: 26.09 kB / 3.832 GB, free: 17.54 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/11.9, allocations: 0 / 3.832 GB, free: 17.54 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/11.9, allocations: 6.984 kB / 3.832 GB, free: 17.54 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006322/11.9, allocations: 3.169 MB / 3.835 GB, free: 16.42 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/11.9, allocations: 4 kB / 3.835 GB, free: 16.42 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008136/11.91, allocations: 107.4 kB / 3.836 GB, free: 16.34 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002204/11.91, allocations: 1.126 MB / 3.837 GB, free: 15.57 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/11.91, allocations: 8 kB / 3.837 GB, free: 15.56 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/11.91, allocations: 1.653 MB / 3.838 GB, free: 30.5 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/11.91, allocations: 0 / 3.838 GB, free: 30.5 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004868/11.92, allocations: 2.325 MB / 3.841 GB, free: 29.09 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/11.92, allocations: 328.4 kB / 3.841 GB, free: 28.84 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004134/11.92, allocations: 4 kB / 3.841 GB, free: 28.84 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/11.92, allocations: 78.34 kB / 3.841 GB, free: 28.79 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/11.92, allocations: 49.27 kB / 3.841 GB, free: 28.76 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.526e-05/11.92, allocations: 27.62 kB / 3.841 GB, free: 28.74 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.001426/11.92, allocations: 0.669 MB / 3.842 GB, free: 28.33 MB / 0.5577 GB Notification: Performance of sort global known variables: time 4.71e-07/11.92, allocations: 0 / 3.842 GB, free: 28.33 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.008312/11.93, allocations: 1.566 MB / 3.843 GB, free: 26.86 MB / 0.5577 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i) * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 50 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01553/11.94, allocations: 4.728 MB / 3.848 GB, free: 23.23 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.00381/11.95, allocations: 1.303 MB / 3.849 GB, free: 22.41 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/11.95, allocations: 0 / 3.849 GB, free: 22.41 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/11.95, allocations: 0.4981 MB / 3.85 GB, free: 22.14 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/11.95, allocations: 337.4 kB / 3.85 GB, free: 21.96 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009652/11.96, allocations: 2.706 MB / 3.853 GB, free: 19.74 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/11.96, allocations: 1.278 MB / 3.854 GB, free: 18.65 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/11.96, allocations: 0.5907 MB / 3.854 GB, free: 18.57 MB / 0.5577 GB Notification: Performance of SimCode: time 2.023e-06/11.96, allocations: 0 / 3.854 GB, free: 18.57 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.415/16.38, allocations: 52.62 MB / 3.906 GB, free: 103.4 MB / 0.5577 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat