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.002101/0.002101, allocations: 177.8 kB / 8.36 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.228/2.228, allocations: 205.3 MB / 214.1 MB, free: 14.12 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.00112/0.00112, allocations: 90.19 kB / 262.1 MB, free: 13.86 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.3061/0.3061, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.737e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4226, allocations: 58.86 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.89/9.312, allocations: 2.797 GB / 3.263 GB, free: 96.54 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/9.313, allocations: 85.36 kB / 3.263 GB, free: 96.54 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.552/11.86, allocations: 454.4 MB / 3.707 GB, free: 62.39 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.695e-06/11.86, allocations: 0 / 3.707 GB, free: 62.39 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.000144/11.86, allocations: 32 kB / 3.707 GB, free: 62.39 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.01017/11.88, allocations: 2.331 MB / 3.709 GB, free: 61.24 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/11.88, allocations: 14.66 kB / 3.709 GB, free: 61.24 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004351/11.88, allocations: 451 kB / 3.71 GB, free: 61.15 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003271/11.88, allocations: 0.972 MB / 3.711 GB, free: 60.82 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/11.88, allocations: 50.06 kB / 3.711 GB, free: 60.82 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00037/11.88, allocations: 75.72 kB / 3.711 GB, free: 60.82 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002771/11.89, allocations: 0.9616 MB / 3.712 GB, free: 60.81 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003169/11.89, allocations: 1.236 MB / 3.713 GB, free: 60.52 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.946e-05/11.89, allocations: 11.22 kB / 3.713 GB, free: 60.52 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/11.89, allocations: 0 / 3.713 GB, free: 60.52 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.849e-05/11.89, allocations: 52.55 kB / 3.713 GB, free: 60.52 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.2605/12.15, allocations: 86.7 MB / 3.798 GB, free: 22.68 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/12.15, allocations: 0.5165 MB / 3.798 GB, free: 22.64 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005725/12.15, allocations: 264.2 kB / 3.798 GB, free: 22.64 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05226/12.2, allocations: 16.63 MB / 3.815 GB, free: 27.82 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/12.2, allocations: 40.78 kB / 3.815 GB, free: 27.79 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=63): time 3.296e-06/12.2, allocations: 0 / 3.815 GB, free: 27.79 MB / 0.5421 GB Notification: Performance of matching and sorting (n=66): time 0.009695/12.21, allocations: 2.049 MB / 3.817 GB, free: 27.23 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.469e-05/12.21, allocations: 139.7 kB / 3.817 GB, free: 27.07 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/12.22, allocations: 0.7329 MB / 3.818 GB, free: 26.91 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0002064/12.22, allocations: 25.7 kB / 3.818 GB, free: 26.88 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005171/12.22, allocations: 0.7392 MB / 3.818 GB, free: 26.43 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/12.22, allocations: 230.1 kB / 3.819 GB, free: 26.28 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/12.22, allocations: 0 / 3.819 GB, free: 26.28 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001869/12.22, allocations: 357.4 kB / 3.819 GB, free: 25.96 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/12.22, allocations: 254.9 kB / 3.819 GB, free: 25.96 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008733/12.22, allocations: 0.6943 MB / 3.82 GB, free: 25.4 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/12.22, allocations: 463.6 kB / 3.82 GB, free: 25.38 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/12.22, allocations: 3.938 kB / 3.82 GB, free: 25.38 MB / 0.5421 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004149/12.23, allocations: 1.07 MB / 3.821 GB, free: 25.28 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.002674/12.23, allocations: 5.656 MB / 3.827 GB, free: 19.35 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.138e-05/12.23, allocations: 11.88 kB / 3.827 GB, free: 19.35 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009549/12.23, allocations: 153.2 kB / 3.827 GB, free: 19.34 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/12.23, allocations: 280.6 kB / 3.827 GB, free: 19.34 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/12.23, allocations: 0.7802 MB / 3.828 GB, free: 18.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/12.24, allocations: 116.2 kB / 3.828 GB, free: 18.79 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003149/12.24, allocations: 68.38 kB / 3.828 GB, free: 18.79 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/12.24, allocations: 3.656 kB / 3.828 GB, free: 18.79 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003342/12.24, allocations: 0.9311 MB / 3.829 GB, free: 18.75 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/12.24, allocations: 15.28 kB / 3.829 GB, free: 18.75 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/12.24, allocations: 138.5 kB / 3.829 GB, free: 18.74 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/12.24, allocations: 294.8 kB / 3.829 GB, free: 18.74 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009486/12.24, allocations: 0.6882 MB / 3.83 GB, free: 18.21 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/12.24, allocations: 97.27 kB / 3.83 GB, free: 18.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/12.25, allocations: 66.03 kB / 3.83 GB, free: 18.2 MB / 0.5421 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 (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 (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.0004258/12.25, allocations: 146.7 kB / 3.83 GB, free: 18.09 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002984/12.25, allocations: 0.6875 MB / 3.831 GB, free: 17.98 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/12.25, allocations: 112 kB / 3.831 GB, free: 17.92 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005639/12.25, allocations: 2.238 MB / 3.833 GB, free: 17.71 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-05/12.25, allocations: 30.67 kB / 3.833 GB, free: 17.71 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/12.25, allocations: 0 / 3.833 GB, free: 17.71 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/12.25, allocations: 3.844 kB / 3.833 GB, free: 17.71 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007849/12.26, allocations: 3.226 MB / 3.837 GB, free: 32.23 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/12.26, allocations: 4.219 kB / 3.837 GB, free: 32.23 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/12.26, allocations: 126.9 kB / 3.837 GB, free: 32.14 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002072/12.27, allocations: 1.202 MB / 3.838 GB, free: 31.32 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/12.27, allocations: 8 kB / 3.838 GB, free: 31.32 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/12.27, allocations: 1.568 MB / 3.839 GB, free: 30.29 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/12.27, allocations: 11.03 kB / 3.839 GB, free: 30.28 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005729/12.27, allocations: 2.449 MB / 3.842 GB, free: 28.83 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/12.28, allocations: 333.5 kB / 3.842 GB, free: 28.58 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004235/12.28, allocations: 7.281 kB / 3.842 GB, free: 28.58 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/12.28, allocations: 70.47 kB / 3.842 GB, free: 28.53 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/12.28, allocations: 56.61 kB / 3.842 GB, free: 28.5 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/12.28, allocations: 31.31 kB / 3.842 GB, free: 28.48 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.001913/12.28, allocations: 0.6623 MB / 3.843 GB, free: 28.07 MB / 0.5577 GB Notification: Performance of sort global known variables: time 1.352e-06/12.28, allocations: 0 / 3.843 GB, free: 28.07 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.0089/12.29, allocations: 1.58 MB / 3.845 GB, free: 26.59 MB / 0.5577 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: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01608/12.31, allocations: 4.757 MB / 3.849 GB, free: 22.93 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.003442/12.31, allocations: 1.321 MB / 3.85 GB, free: 22.09 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/12.31, allocations: 4 kB / 3.85 GB, free: 22.09 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/12.31, allocations: 0.5041 MB / 3.851 GB, free: 21.81 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/12.31, allocations: 351.1 kB / 3.851 GB, free: 21.62 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/12.32, allocations: 2.794 MB / 3.854 GB, free: 19.33 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/12.33, allocations: 1.28 MB / 3.855 GB, free: 18.25 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/12.33, allocations: 0.6283 MB / 3.856 GB, free: 17.78 MB / 0.5577 GB Notification: Performance of SimCode: time 1.472e-06/12.33, allocations: 3.938 kB / 3.856 GB, free: 17.77 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.774/17.1, allocations: 53.18 MB / 3.908 GB, free: 103.9 MB / 0.5577 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