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.002371/0.00237, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.439/2.439, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001135/0.001134, allocations: 90.64 kB / 267.5 MB, free: 14.04 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.2948/0.2948, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.892e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1344, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.586/8.72, allocations: 2.797 GB / 3.27 GB, free: 41.74 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/8.721, allocations: 88.92 kB / 3.27 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.283/11, allocations: 458.1 MB / 3.718 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.894e-06/11, allocations: 0 / 3.718 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001092/11, allocations: 35.98 kB / 3.718 GB, free: 6.09 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.009048/11.01, allocations: 2.299 MB / 3.72 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/11.01, allocations: 8.031 kB / 3.72 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004324/11.01, allocations: 194.3 kB / 3.72 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004139/11.02, allocations: 441.7 kB / 3.721 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/11.02, allocations: 0.9728 MB / 3.722 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/11.02, allocations: 102.6 kB / 3.722 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/11.02, allocations: 135.8 kB / 3.722 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004463/11.02, allocations: 1.635 MB / 3.723 GB, free: 108 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.993e-05/11.03, allocations: 7.938 kB / 3.723 GB, free: 100 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/11.03, allocations: 63.95 kB / 3.723 GB, free: 36 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3862/11.41, allocations: 43.17 kB / 3.723 GB, free: 49.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005207/11.42, allocations: 1.247 MB / 3.725 GB, free: 48.99 MB / 0.5105 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.01682/11.43, allocations: 7.843 MB / 3.732 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/11.44, allocations: 0.8558 MB / 3.733 GB, free: 44.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008242/11.44, allocations: 304.9 kB / 3.734 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07904/11.52, allocations: 24.24 MB / 3.757 GB, free: 29.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/11.52, allocations: 42.59 kB / 3.757 GB, free: 29.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 3.406e-06/11.52, allocations: 2.375 kB / 3.757 GB, free: 29.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71): time 0.009324/11.53, allocations: 2.204 MB / 3.759 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/11.53, allocations: 136 kB / 3.759 GB, free: 29.08 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/11.53, allocations: 0.8494 MB / 3.76 GB, free: 28.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002306/11.53, allocations: 37.27 kB / 3.76 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006453/11.53, allocations: 0.6985 MB / 3.761 GB, free: 28.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/11.53, allocations: 253.7 kB / 3.761 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.049e-05/11.53, allocations: 21.47 kB / 3.761 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001087/11.53, allocations: 354.4 kB / 3.762 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007425/11.53, allocations: 267.7 kB / 3.762 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009594/11.53, allocations: 0.709 MB / 3.763 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009091/11.53, allocations: 379.3 kB / 3.763 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/11.53, allocations: 4.5 kB / 3.763 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002758/11.54, allocations: 1.089 MB / 3.764 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00215/11.54, allocations: 5.741 MB / 3.77 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.247e-05/11.54, allocations: 14.5 kB / 3.77 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/11.54, allocations: 281.4 kB / 3.77 GB, free: 37.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/11.54, allocations: 270.5 kB / 3.77 GB, free: 37.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/11.54, allocations: 0.771 MB / 3.771 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/11.55, allocations: 99.47 kB / 3.771 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/11.55, allocations: 64.52 kB / 3.771 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/11.55, allocations: 3.469 kB / 3.771 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003148/11.55, allocations: 1.033 MB / 3.772 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/11.55, allocations: 13.72 kB / 3.772 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/11.55, allocations: 179.1 kB / 3.772 GB, free: 36.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/11.55, allocations: 274.2 kB / 3.773 GB, free: 36.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/11.55, allocations: 0.7255 MB / 3.773 GB, free: 36.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/11.56, allocations: 103.1 kB / 3.773 GB, free: 36.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/11.56, allocations: 55.58 kB / 3.773 GB, free: 36.39 MB / 0.5261 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 (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 () * 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.0004032/11.56, allocations: 188.7 kB / 3.774 GB, free: 36.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000353/11.56, allocations: 120.4 kB / 3.774 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005006/11.56, allocations: 3.048 MB / 3.777 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.257e-05/11.56, allocations: 39.02 kB / 3.777 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/11.56, allocations: 0 / 3.777 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/11.56, allocations: 3.797 kB / 3.777 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00753/11.57, allocations: 4.651 MB / 3.781 GB, free: 35.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/11.57, allocations: 3.625 kB / 3.781 GB, free: 35.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/11.57, allocations: 149.9 kB / 3.781 GB, free: 35.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003094/11.57, allocations: 1.236 MB / 3.783 GB, free: 35.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/11.57, allocations: 21.2 kB / 3.783 GB, free: 35.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/11.58, allocations: 1.479 MB / 3.784 GB, free: 34.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/11.58, allocations: 2.531 kB / 3.784 GB, free: 34.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004467/11.58, allocations: 2.916 MB / 3.787 GB, free: 34.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000983/11.58, allocations: 432.2 kB / 3.787 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/11.58, allocations: 16.06 kB / 3.787 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/11.58, allocations: 95.22 kB / 3.787 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/11.58, allocations: 66.23 kB / 3.788 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.938e-05/11.58, allocations: 36.83 kB / 3.788 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001642/11.58, allocations: 0.835 MB / 3.788 GB, free: 33.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.7e-07/11.58, allocations: 0 / 3.788 GB, free: 33.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007903/11.59, allocations: 1.657 MB / 3.79 GB, free: 33.94 MB / 0.5261 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: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 58 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01534/11.61, allocations: 5.237 MB / 3.795 GB, free: 32.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004835/11.61, allocations: 1.564 MB / 3.797 GB, free: 32.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/11.61, allocations: 0 / 3.797 GB, free: 32.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/11.61, allocations: 0.7467 MB / 3.797 GB, free: 32.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003839/11.62, allocations: 453.7 kB / 3.798 GB, free: 32.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/11.63, allocations: 3.28 MB / 3.801 GB, free: 31.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/11.63, allocations: 1.39 MB / 3.802 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/11.63, allocations: 0.6991 MB / 3.803 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of SimCode: time 1.313e-06/11.63, allocations: 0 / 3.803 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.211/15.84, allocations: 56.07 MB / 3.858 GB, free: 26.62 MB / 0.5261 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