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.002173/0.002178, allocations: 181.3 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.075/2.075, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001121/0.00112, allocations: 86.66 kB / 267.5 MB, free: 14.12 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.297/0.297, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.869e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.557/8.688, allocations: 2.798 GB / 3.271 GB, free: 45.89 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/8.688, allocations: 85.98 kB / 3.271 GB, free: 45.84 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.309/11, allocations: 458.9 MB / 3.719 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.813e-06/11, allocations: 4 kB / 3.719 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001288/11, allocations: 32 kB / 3.719 GB, free: 8.926 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.009994/11.01, allocations: 2.332 MB / 3.721 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/11.01, allocations: 11.97 kB / 3.721 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000511/11.01, allocations: 194.5 kB / 3.721 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004342/11.01, allocations: 437.6 kB / 3.722 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/11.02, allocations: 0.9824 MB / 3.723 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/11.02, allocations: 110.7 kB / 3.723 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/11.02, allocations: 135.9 kB / 3.723 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00509/11.02, allocations: 1.651 MB / 3.725 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.821e-05/11.02, allocations: 7.891 kB / 3.725 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002133/11.02, allocations: 67.95 kB / 3.725 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/11.02, allocations: 46.36 kB / 3.725 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00454/11.03, allocations: 1.27 MB / 3.726 GB, free: 1.508 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.4084/11.43, allocations: 7.809 MB / 3.734 GB, free: 43.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/11.44, allocations: 0.8685 MB / 3.734 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008506/11.44, allocations: 314.5 kB / 3.735 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08009/11.52, allocations: 24.24 MB / 3.758 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/11.52, allocations: 49.16 kB / 3.758 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=71): time 3.798e-06/11.52, allocations: 0 / 3.758 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=74): time 0.007729/11.53, allocations: 2.211 MB / 3.761 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/11.53, allocations: 139.6 kB / 3.761 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/11.53, allocations: 0.8503 MB / 3.762 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/11.53, allocations: 42.45 kB / 3.762 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004519/11.53, allocations: 0.7018 MB / 3.762 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/11.53, allocations: 251.9 kB / 3.763 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.626e-05/11.53, allocations: 25.31 kB / 3.763 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001383/11.53, allocations: 354.3 kB / 3.763 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000702/11.53, allocations: 268.1 kB / 3.763 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009332/11.53, allocations: 0.7145 MB / 3.764 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008903/11.53, allocations: 389.8 kB / 3.764 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/11.53, allocations: 2.812 kB / 3.764 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002641/11.53, allocations: 1.088 MB / 3.765 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002807/11.54, allocations: 5.665 MB / 3.771 GB, free: 36.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-05/11.54, allocations: 11.69 kB / 3.771 GB, free: 36.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/11.54, allocations: 232.2 kB / 3.771 GB, free: 36.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/11.54, allocations: 293.6 kB / 3.771 GB, free: 36.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/11.54, allocations: 0.7091 MB / 3.772 GB, free: 35.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/11.54, allocations: 110.2 kB / 3.772 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/11.55, allocations: 67.39 kB / 3.772 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/11.55, allocations: 3.969 kB / 3.772 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002605/11.55, allocations: 1.014 MB / 3.773 GB, free: 35.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/11.55, allocations: 14.03 kB / 3.773 GB, free: 35.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/11.55, allocations: 150.2 kB / 3.773 GB, free: 35.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/11.55, allocations: 287 kB / 3.774 GB, free: 35.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008867/11.55, allocations: 0.6789 MB / 3.774 GB, free: 35.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/11.55, allocations: 102.7 kB / 3.774 GB, free: 35.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/11.55, allocations: 61.88 kB / 3.774 GB, free: 35.16 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 () * 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.000444/11.55, allocations: 184.8 kB / 3.775 GB, free: 35.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003805/11.55, allocations: 121 kB / 3.775 GB, free: 35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004576/11.56, allocations: 3.038 MB / 3.778 GB, free: 34.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.133e-05/11.56, allocations: 37.45 kB / 3.778 GB, free: 34.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/11.56, allocations: 3.844 kB / 3.778 GB, free: 34.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/11.56, allocations: 11.62 kB / 3.778 GB, free: 34.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007844/11.57, allocations: 4.609 MB / 3.782 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/11.57, allocations: 0 / 3.782 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/11.57, allocations: 166.6 kB / 3.782 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003032/11.57, allocations: 1.265 MB / 3.784 GB, free: 34.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/11.57, allocations: 23.31 kB / 3.784 GB, free: 34.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/11.57, allocations: 1.409 MB / 3.785 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/11.57, allocations: 3.344 kB / 3.785 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005506/11.58, allocations: 3.246 MB / 3.788 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/11.58, allocations: 434.9 kB / 3.789 GB, free: 32.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000367/11.58, allocations: 13.38 kB / 3.789 GB, free: 32.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/11.58, allocations: 96.25 kB / 3.789 GB, free: 32.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/11.58, allocations: 71.58 kB / 3.789 GB, free: 32.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.88e-05/11.58, allocations: 34.41 kB / 3.789 GB, free: 32.85 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001822/11.58, allocations: 0.8307 MB / 3.79 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.62e-07/11.58, allocations: 0 / 3.79 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009108/11.59, allocations: 1.679 MB / 3.791 GB, free: 32.73 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 () * 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.01729/11.61, allocations: 5.254 MB / 3.796 GB, free: 31.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004446/11.62, allocations: 1.573 MB / 3.798 GB, free: 31.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/11.62, allocations: 3.219 kB / 3.798 GB, free: 31.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001623/11.62, allocations: 0.7534 MB / 3.799 GB, free: 31.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/11.62, allocations: 449.2 kB / 3.799 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/11.63, allocations: 3.386 MB / 3.802 GB, free: 30.31 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/11.63, allocations: 1.398 MB / 3.804 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/11.64, allocations: 0.7334 MB / 3.805 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of SimCode: time 1.312e-06/11.64, allocations: 0 / 3.805 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.233/15.87, allocations: 56.64 MB / 3.86 GB, free: 25.34 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