Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001283, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.5 MB / 230.7 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 91.48 kB / 281.6 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2415/0.2415, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.074e-05/2.072e-05, allocations: 4.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1641, allocations: 61.91 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.533/8.698, allocations: 2.803 GB / 3.297 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/8.698, allocations: 84.98 kB / 3.298 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.554/10.25, allocations: 458.3 MB / 3.745 GB, free: 65.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.723e-06/10.25, allocations: 0 / 3.745 GB, free: 65.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.674e-05/10.25, allocations: 34.78 kB / 3.745 GB, free: 65.2 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.00758/10.26, allocations: 2.311 MB / 3.747 GB, free: 63.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/10.26, allocations: 13.75 kB / 3.747 GB, free: 63.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003005/10.26, allocations: 440.3 kB / 3.748 GB, free: 63.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/10.27, allocations: 0.9684 MB / 3.749 GB, free: 63.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/10.27, allocations: 54.94 kB / 3.749 GB, free: 63.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/10.27, allocations: 75.97 kB / 3.749 GB, free: 63.17 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001551/10.27, allocations: 0.9357 MB / 3.75 GB, free: 62.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/10.27, allocations: 1.209 MB / 3.751 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/10.27, allocations: 14.19 kB / 3.751 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.973e-05/10.27, allocations: 3.75 kB / 3.751 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/10.27, allocations: 54.94 kB / 3.751 GB, free: 62.17 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.1503/10.42, allocations: 86.76 MB / 3.836 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009694/10.42, allocations: 0.5054 MB / 3.836 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/10.42, allocations: 249.8 kB / 3.837 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4057/10.83, allocations: 16.91 MB / 3.853 GB, free: 77.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/10.83, allocations: 44.75 kB / 3.853 GB, free: 77.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=60): time 3.046e-06/10.83, allocations: 0 / 3.853 GB, free: 77.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=63): time 0.007478/10.83, allocations: 2.02 MB / 3.855 GB, free: 76.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/10.83, allocations: 136.5 kB / 3.855 GB, free: 76.72 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/10.84, allocations: 0.731 MB / 3.856 GB, free: 76.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.875e-05/10.84, allocations: 25.7 kB / 3.856 GB, free: 76.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007125/10.84, allocations: 0.7275 MB / 3.857 GB, free: 76.24 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000276/10.84, allocations: 218.5 kB / 3.857 GB, free: 76.13 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/10.84, allocations: 5.406 kB / 3.857 GB, free: 76.13 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000145/10.84, allocations: 346.7 kB / 3.857 GB, free: 75.83 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/10.84, allocations: 248.2 kB / 3.857 GB, free: 75.83 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008324/10.84, allocations: 0.6891 MB / 3.858 GB, free: 75.28 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/10.84, allocations: 457.5 kB / 3.859 GB, free: 75.27 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/10.84, allocations: 6.469 kB / 3.859 GB, free: 75.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002969/10.84, allocations: 1.127 MB / 3.86 GB, free: 75.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001423/10.84, allocations: 5.753 MB / 3.865 GB, free: 69.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/10.84, allocations: 15.22 kB / 3.865 GB, free: 69.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007542/10.84, allocations: 197.4 kB / 3.865 GB, free: 69.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008669/10.85, allocations: 265.3 kB / 3.866 GB, free: 69.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/10.85, allocations: 0.84 MB / 3.867 GB, free: 68.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/10.85, allocations: 115.7 kB / 3.867 GB, free: 68.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/10.85, allocations: 62.06 kB / 3.867 GB, free: 68.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/10.85, allocations: 3.594 kB / 3.867 GB, free: 68.64 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002381/10.85, allocations: 0.9527 MB / 3.868 GB, free: 68.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/10.85, allocations: 11.47 kB / 3.868 GB, free: 68.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000853/10.85, allocations: 185.8 kB / 3.868 GB, free: 68.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008294/10.85, allocations: 274.8 kB / 3.868 GB, free: 68.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008699/10.85, allocations: 0.7521 MB / 3.869 GB, free: 68.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/10.85, allocations: 84.44 kB / 3.869 GB, free: 68.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/10.86, allocations: 63.38 kB / 3.869 GB, free: 68.08 MB / 0.5417 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.0004137/10.86, allocations: 149.5 kB / 3.869 GB, free: 67.98 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002063/10.86, allocations: 0.686 MB / 3.87 GB, free: 67.86 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/10.86, allocations: 106 kB / 3.87 GB, free: 67.81 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004554/10.86, allocations: 2.205 MB / 3.872 GB, free: 67.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.869e-05/10.86, allocations: 25.5 kB / 3.872 GB, free: 67.65 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/10.86, allocations: 0.6562 kB / 3.872 GB, free: 67.65 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/10.86, allocations: 8.016 kB / 3.872 GB, free: 67.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007806/10.87, allocations: 3.173 MB / 3.875 GB, free: 67.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/10.87, allocations: 2.562 kB / 3.875 GB, free: 67.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/10.87, allocations: 104.4 kB / 3.875 GB, free: 67.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/10.87, allocations: 1.119 MB / 3.876 GB, free: 67.17 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/10.87, allocations: 12.38 kB / 3.876 GB, free: 67.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/10.87, allocations: 1.649 MB / 3.878 GB, free: 66.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/10.87, allocations: 4.609 kB / 3.878 GB, free: 66.62 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/10.88, allocations: 2.325 MB / 3.88 GB, free: 66.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007962/10.88, allocations: 330.8 kB / 3.881 GB, free: 65.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/10.88, allocations: 4.781 kB / 3.881 GB, free: 65.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007323/10.88, allocations: 69.31 kB / 3.881 GB, free: 65.99 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/10.88, allocations: 48.08 kB / 3.881 GB, free: 65.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/10.88, allocations: 28.84 kB / 3.881 GB, free: 65.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00106/10.88, allocations: 0.6729 MB / 3.881 GB, free: 65.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.41e-07/10.88, allocations: 0 / 3.881 GB, free: 65.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007367/10.89, allocations: 1.572 MB / 3.883 GB, free: 65.82 MB / 0.5417 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.01131/10.9, allocations: 4.738 MB / 3.888 GB, free: 64.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002902/10.9, allocations: 1.33 MB / 3.889 GB, free: 64.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/10.9, allocations: 3.969 kB / 3.889 GB, free: 64.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007589/10.9, allocations: 0.4967 MB / 3.889 GB, free: 64.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/10.91, allocations: 342 kB / 3.89 GB, free: 64.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008015/10.91, allocations: 2.673 MB / 3.892 GB, free: 63.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006357/10.91, allocations: 1.279 MB / 3.893 GB, free: 62.85 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001974/10.92, allocations: 0.9012 MB / 3.894 GB, free: 62.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006453/10.92, allocations: 0.578 MB / 3.895 GB, free: 62.82 MB / 0.5417 GB Notification: Performance of SimCode: time 1.072e-06/10.92, allocations: 0 / 3.895 GB, free: 62.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/11.02, allocations: 55.88 MB / 3.949 GB, free: 60.63 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/11.02, allocations: 197.9 kB / 3.95 GB, free: 60.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.895/14.92, allocations: 0 / 3.95 GB, free: 60.43 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat