Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.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.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",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.001476/0.001476, allocations: 179.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 221.3 MB / 236 MB, free: 2.957 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.0009894/0.0009891, allocations: 95.8 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2291/0.2291, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.861e-05, allocations: 4 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1513, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.788/7.939, allocations: 2.804 GB / 3.306 GB, free: 66.09 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/7.94, allocations: 84.52 kB / 3.306 GB, free: 66.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.658/9.598, allocations: 463.5 MB / 3.758 GB, free: 25.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.385e-06/9.598, allocations: 0 / 3.758 GB, free: 25.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.9e-05/9.598, allocations: 39.69 kB / 3.758 GB, free: 25.11 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.007838/9.606, allocations: 2.324 MB / 3.761 GB, free: 22.74 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/9.606, allocations: 11.97 kB / 3.761 GB, free: 22.73 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003339/9.606, allocations: 198.5 kB / 3.761 GB, free: 22.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/9.609, allocations: 440.8 kB / 3.761 GB, free: 22.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/9.611, allocations: 0.9834 MB / 3.762 GB, free: 21.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-05/9.611, allocations: 106.7 kB / 3.762 GB, free: 20.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/9.611, allocations: 128 kB / 3.762 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/9.614, allocations: 1.654 MB / 3.764 GB, free: 19.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.863e-05/9.614, allocations: 7.906 kB / 3.764 GB, free: 19.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/9.614, allocations: 67.88 kB / 3.764 GB, free: 19.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/9.614, allocations: 46.36 kB / 3.764 GB, free: 18.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/9.617, allocations: 1.27 MB / 3.765 GB, free: 17.7 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.008089/9.625, allocations: 7.824 MB / 3.773 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/9.627, allocations: 0.8736 MB / 3.774 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/9.627, allocations: 314.9 kB / 3.774 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4146/10.04, allocations: 24.24 MB / 3.798 GB, free: 40.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/10.04, allocations: 41.94 kB / 3.798 GB, free: 40.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=71): time 2.495e-06/10.04, allocations: 0 / 3.798 GB, free: 40.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.005759/10.05, allocations: 2.211 MB / 3.8 GB, free: 40.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/10.05, allocations: 140.4 kB / 3.8 GB, free: 40.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/10.05, allocations: 0.8464 MB / 3.801 GB, free: 39.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/10.05, allocations: 41.33 kB / 3.801 GB, free: 39.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005288/10.05, allocations: 0.7022 MB / 3.802 GB, free: 39.65 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/10.05, allocations: 259.7 kB / 3.802 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/10.05, allocations: 24.62 kB / 3.802 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/10.05, allocations: 347.1 kB / 3.802 GB, free: 39.22 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/10.05, allocations: 269.6 kB / 3.803 GB, free: 39.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007167/10.05, allocations: 0.7146 MB / 3.803 GB, free: 38.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/10.05, allocations: 379.4 kB / 3.804 GB, free: 38.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.756e-05/10.05, allocations: 10.05 kB / 3.804 GB, free: 38.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002232/10.05, allocations: 1.158 MB / 3.805 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001208/10.06, allocations: 5.659 MB / 3.81 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.347e-05/10.06, allocations: 14.22 kB / 3.81 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/10.06, allocations: 232.8 kB / 3.811 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/10.06, allocations: 287.2 kB / 3.811 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007113/10.06, allocations: 0.7114 MB / 3.812 GB, free: 32.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/10.06, allocations: 109.4 kB / 3.812 GB, free: 32.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/10.06, allocations: 70.78 kB / 3.812 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/10.06, allocations: 7.781 kB / 3.812 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002038/10.06, allocations: 1.01 MB / 3.813 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.066e-05/10.06, allocations: 17.88 kB / 3.813 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/10.06, allocations: 170.8 kB / 3.813 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/10.06, allocations: 281.6 kB / 3.813 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006526/10.07, allocations: 0.6909 MB / 3.814 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/10.07, allocations: 100.8 kB / 3.814 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/10.07, allocations: 64.69 kB / 3.814 GB, free: 31.57 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.0003873/10.07, allocations: 184.6 kB / 3.814 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/10.07, allocations: 118.5 kB / 3.814 GB, free: 31.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004373/10.07, allocations: 3.032 MB / 3.817 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.417e-05/10.07, allocations: 37.88 kB / 3.817 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/10.07, allocations: 3.219 kB / 3.817 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/10.07, allocations: 4.453 kB / 3.817 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007063/10.08, allocations: 4.62 MB / 3.822 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/10.08, allocations: 1.031 kB / 3.822 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007028/10.08, allocations: 168.4 kB / 3.822 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/10.08, allocations: 1.257 MB / 3.823 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.931e-05/10.08, allocations: 24.64 kB / 3.823 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/10.08, allocations: 1.422 MB / 3.825 GB, free: 30 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/10.08, allocations: 5.688 kB / 3.825 GB, free: 30 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/10.09, allocations: 3.238 MB / 3.828 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009414/10.09, allocations: 440 kB / 3.828 GB, free: 29.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003889/10.09, allocations: 15.91 kB / 3.828 GB, free: 29.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/10.09, allocations: 94.09 kB / 3.828 GB, free: 29.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/10.09, allocations: 66.56 kB / 3.828 GB, free: 29.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.107e-05/10.09, allocations: 31.22 kB / 3.828 GB, free: 29.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001333/10.09, allocations: 0.8383 MB / 3.829 GB, free: 29.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/10.09, allocations: 0 / 3.829 GB, free: 29.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008412/10.1, allocations: 1.676 MB / 3.831 GB, free: 29.13 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.01319/10.11, allocations: 5.265 MB / 3.836 GB, free: 27.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003502/10.12, allocations: 1.6 MB / 3.838 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/10.12, allocations: 0 / 3.838 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/10.12, allocations: 0.7567 MB / 3.838 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/10.12, allocations: 459.1 kB / 3.839 GB, free: 27.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009774/10.13, allocations: 3.349 MB / 3.842 GB, free: 26.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/10.13, allocations: 1.402 MB / 3.843 GB, free: 26 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002104/10.13, allocations: 0.7416 MB / 3.844 GB, free: 25.99 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008405/10.13, allocations: 0.7152 MB / 3.845 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of SimCode: time 8.02e-07/10.13, allocations: 0 / 3.845 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1414/10.27, allocations: 70.97 MB / 3.914 GB, free: 22.72 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/10.28, allocations: 249.4 kB / 3.914 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.649/14.92, allocations: 3.281 kB / 3.914 GB, free: 22.39 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat