Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_3_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.001161/0.001161, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009344/0.0009345, allocations: 85.03 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5376/0.5376, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.714e-05/3.717e-05, allocations: 3.984 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1656, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.432/7.598, allocations: 2.798 GB / 3.271 GB, free: 30.56 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/7.598, allocations: 90.09 kB / 3.271 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.841/9.439, allocations: 458.9 MB / 3.719 GB, free: 58.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.873e-06/9.439, allocations: 0 / 3.719 GB, free: 58.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001262/9.439, allocations: 38.06 kB / 3.719 GB, free: 58.95 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.008441/9.447, allocations: 2.316 MB / 3.721 GB, free: 58.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/9.447, allocations: 13.66 kB / 3.721 GB, free: 58.12 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004208/9.448, allocations: 190 kB / 3.721 GB, free: 58.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003253/9.451, allocations: 452.2 kB / 3.722 GB, free: 57.99 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002418/9.453, allocations: 0.9768 MB / 3.723 GB, free: 57.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/9.454, allocations: 102.4 kB / 3.723 GB, free: 57.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/9.454, allocations: 131.5 kB / 3.723 GB, free: 57.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/9.458, allocations: 1.66 MB / 3.725 GB, free: 57.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/9.458, allocations: 12.86 kB / 3.725 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/9.458, allocations: 60 kB / 3.725 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/9.458, allocations: 45.83 kB / 3.725 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/9.461, allocations: 1.27 MB / 3.726 GB, free: 57.39 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.009913/9.47, allocations: 7.818 MB / 3.734 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/9.473, allocations: 0.8671 MB / 3.734 GB, free: 52.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/9.473, allocations: 318.8 kB / 3.735 GB, free: 52.89 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04235/9.515, allocations: 24.23 MB / 3.758 GB, free: 38.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/9.515, allocations: 47.47 kB / 3.758 GB, free: 38.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=71): time 2.304e-06/9.515, allocations: 0 / 3.758 GB, free: 38.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.005563/9.521, allocations: 2.226 MB / 3.761 GB, free: 37.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/9.521, allocations: 139.2 kB / 3.761 GB, free: 37.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/9.522, allocations: 0.8412 MB / 3.762 GB, free: 37.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/9.522, allocations: 41.61 kB / 3.762 GB, free: 37.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/9.523, allocations: 0.7041 MB / 3.762 GB, free: 36.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/9.523, allocations: 258.8 kB / 3.763 GB, free: 36.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/9.523, allocations: 26.81 kB / 3.763 GB, free: 36.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001354/9.523, allocations: 347.3 kB / 3.763 GB, free: 36.37 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/9.524, allocations: 271.2 kB / 3.763 GB, free: 36.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006757/9.524, allocations: 0.7139 MB / 3.764 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005634/9.525, allocations: 385.8 kB / 3.764 GB, free: 35.81 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/9.525, allocations: 6 kB / 3.764 GB, free: 35.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001872/9.527, allocations: 1.161 MB / 3.765 GB, free: 35.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002015/9.529, allocations: 5.654 MB / 3.771 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/9.529, allocations: 14.69 kB / 3.771 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/9.53, allocations: 239.5 kB / 3.771 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009228/9.531, allocations: 279.2 kB / 3.771 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006679/9.532, allocations: 0.7198 MB / 3.772 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/9.533, allocations: 106 kB / 3.772 GB, free: 29.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/9.533, allocations: 67.47 kB / 3.772 GB, free: 29.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/9.533, allocations: 3.75 kB / 3.772 GB, free: 29.26 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001772/9.535, allocations: 1.015 MB / 3.773 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/9.535, allocations: 18.25 kB / 3.773 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009641/9.536, allocations: 165.2 kB / 3.773 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/9.537, allocations: 280.8 kB / 3.774 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007298/9.538, allocations: 0.6996 MB / 3.774 GB, free: 28.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/9.539, allocations: 99.3 kB / 3.774 GB, free: 28.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/9.539, allocations: 62.5 kB / 3.775 GB, free: 28.7 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.0003915/9.54, allocations: 178.2 kB / 3.775 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/9.54, allocations: 117 kB / 3.775 GB, free: 28.53 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003217/9.543, allocations: 3.046 MB / 3.778 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/9.543, allocations: 41.2 kB / 3.778 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/9.543, allocations: 0 / 3.778 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/9.543, allocations: 10 kB / 3.778 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005019/9.548, allocations: 4.603 MB / 3.782 GB, free: 27.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/9.548, allocations: 4.312 kB / 3.782 GB, free: 27.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/9.549, allocations: 166.7 kB / 3.783 GB, free: 27.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00202/9.551, allocations: 1.263 MB / 3.784 GB, free: 27.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/9.551, allocations: 25.95 kB / 3.784 GB, free: 27.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/9.552, allocations: 1.415 MB / 3.785 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/9.552, allocations: 2.031 kB / 3.785 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0039/9.556, allocations: 3.247 MB / 3.788 GB, free: 26.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009022/9.557, allocations: 428.1 kB / 3.789 GB, free: 26.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/9.557, allocations: 20.2 kB / 3.789 GB, free: 26.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007787/9.558, allocations: 97.39 kB / 3.789 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/9.558, allocations: 72.25 kB / 3.789 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/9.558, allocations: 31.69 kB / 3.789 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001353/9.56, allocations: 0.838 MB / 3.79 GB, free: 26.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/9.56, allocations: 0 / 3.79 GB, free: 26.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007721/9.568, allocations: 1.676 MB / 3.791 GB, free: 25.96 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.01389/9.581, allocations: 5.249 MB / 3.797 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003045/9.585, allocations: 1.6 MB / 3.798 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/9.585, allocations: 3.062 kB / 3.798 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008817/9.585, allocations: 0.7599 MB / 3.799 GB, free: 24.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/9.588, allocations: 450.1 kB / 3.799 GB, free: 24.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009772/9.598, allocations: 3.354 MB / 3.803 GB, free: 23.26 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/9.599, allocations: 1.402 MB / 3.804 GB, free: 22.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001831/9.601, allocations: 0.7449 MB / 3.805 GB, free: 22.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006871/9.601, allocations: 0.714 MB / 3.805 GB, free: 22.52 MB / 0.5261 GB Notification: Performance of SimCode: time 1.452e-06/9.601, allocations: 0 / 3.805 GB, free: 22.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/9.713, allocations: 70.88 MB / 3.875 GB, free: 18.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/9.714, allocations: 246 kB / 3.875 GB, free: 18.33 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.485/14.2, allocations: 3.938 kB / 3.875 GB, free: 18.33 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat