Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",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.001724/0.001724, allocations: 177 kB / 17.06 MB, free: 5.094 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.476/1.476, allocations: 223.2 MB / 241 MB, free: 11.92 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 95.06 kB / 292.1 MB, free: 10.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4678/0.4678, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.000378, allocations: 8 kB / 460 MB, free: 1.469 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4796, allocations: 61.9 MB / 0.5096 GB, free: 38.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.675/8.155, allocations: 2.803 GB / 3.313 GB, free: 48.32 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/8.155, allocations: 95.91 kB / 3.313 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.85/10.01, allocations: 464 MB / 3.766 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.166e-06/10.01, allocations: 0.6562 kB / 3.766 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002073/10.01, allocations: 36.17 kB / 3.766 GB, free: 4.25 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.0117/10.02, allocations: 2.471 MB / 3.769 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/10.02, allocations: 8.031 kB / 3.769 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000798/10.02, allocations: 190.3 kB / 3.769 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/10.02, allocations: 445.6 kB / 3.769 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/10.02, allocations: 0.9767 MB / 3.77 GB, free: 60 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4325/10.46, allocations: 99.88 kB / 3.77 GB, free: 41.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007382/10.46, allocations: 133.7 kB / 3.771 GB, free: 41.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004609/10.46, allocations: 1.665 MB / 3.772 GB, free: 41.44 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/10.46, allocations: 6.5 kB / 3.772 GB, free: 41.44 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/10.46, allocations: 58.44 kB / 3.772 GB, free: 41.44 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-05/10.46, allocations: 49.41 kB / 3.772 GB, free: 41.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003407/10.47, allocations: 1.351 MB / 3.774 GB, free: 41.42 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01229/10.48, allocations: 7.848 MB / 3.781 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/10.48, allocations: 0.9359 MB / 3.782 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04737/10.53, allocations: 24.15 MB / 3.806 GB, free: 38.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.019e-05/10.53, allocations: 42.34 kB / 3.806 GB, free: 38.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=68): time 4.157e-06/10.53, allocations: 0 / 3.806 GB, free: 38.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71): time 0.01016/10.54, allocations: 3.034 MB / 3.809 GB, free: 37.56 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.88e-05/10.54, allocations: 135.9 kB / 3.809 GB, free: 37.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/10.54, allocations: 0.8637 MB / 3.81 GB, free: 37.26 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-05/10.54, allocations: 42.08 kB / 3.81 GB, free: 37.23 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/10.54, allocations: 0.6981 MB / 3.81 GB, free: 36.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/10.54, allocations: 254.9 kB / 3.811 GB, free: 36.83 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/10.54, allocations: 20 kB / 3.811 GB, free: 36.83 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000186/10.54, allocations: 354.5 kB / 3.811 GB, free: 36.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000733/10.54, allocations: 332.2 kB / 3.811 GB, free: 36.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000945/10.54, allocations: 0.7809 MB / 3.812 GB, free: 35.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008447/10.54, allocations: 446.2 kB / 3.813 GB, free: 35.97 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/10.54, allocations: 5.438 kB / 3.813 GB, free: 35.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002785/10.55, allocations: 1.303 MB / 3.814 GB, free: 35.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002831/10.55, allocations: 5.746 MB / 3.819 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.742e-05/10.55, allocations: 15.95 kB / 3.819 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/10.55, allocations: 318.4 kB / 3.82 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/10.55, allocations: 271.8 kB / 3.82 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/10.55, allocations: 0.8063 MB / 3.821 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/10.56, allocations: 97.73 kB / 3.821 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/10.56, allocations: 63.94 kB / 3.821 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/10.56, allocations: 5.891 kB / 3.821 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003362/10.56, allocations: 1.189 MB / 3.822 GB, free: 29.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.438e-05/10.56, allocations: 14.19 kB / 3.822 GB, free: 29.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/10.56, allocations: 227.3 kB / 3.822 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/10.56, allocations: 272.5 kB / 3.823 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/10.56, allocations: 0.7909 MB / 3.823 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/10.57, allocations: 94.42 kB / 3.823 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.585e-05/10.57, allocations: 60.56 kB / 3.824 GB, free: 28.78 MB / 0.5417 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 () * Number of clocked 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.001134/10.57, allocations: 403.6 kB / 3.824 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/10.57, allocations: 119.7 kB / 3.824 GB, free: 28.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004252/10.57, allocations: 3.118 MB / 3.827 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.912e-05/10.57, allocations: 42.77 kB / 3.827 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/10.57, allocations: 0 / 3.827 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/10.57, allocations: 3.516 kB / 3.827 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007749/10.58, allocations: 4.648 MB / 3.832 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/10.58, allocations: 2.031 kB / 3.832 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006518/10.58, allocations: 150.6 kB / 3.832 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00329/10.58, allocations: 1.083 MB / 3.833 GB, free: 27.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/10.58, allocations: 24.42 kB / 3.833 GB, free: 27.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/10.59, allocations: 1.446 MB / 3.834 GB, free: 27.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/10.59, allocations: 1.406 kB / 3.834 GB, free: 27.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00605/10.59, allocations: 3 MB / 3.837 GB, free: 26.62 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/10.59, allocations: 428.9 kB / 3.838 GB, free: 26.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005967/10.59, allocations: 25.14 kB / 3.838 GB, free: 26.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/10.59, allocations: 85.62 kB / 3.838 GB, free: 26.42 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/10.6, allocations: 68.41 kB / 3.838 GB, free: 26.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/10.6, allocations: 28.56 kB / 3.838 GB, free: 26.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002783/10.6, allocations: 0.852 MB / 3.839 GB, free: 26.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.51e-07/10.6, allocations: 0 / 3.839 GB, free: 26.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01366/10.61, allocations: 1.663 MB / 3.84 GB, free: 26.3 MB / 0.5417 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 () * Number of clocked 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.01718/10.63, allocations: 5.462 MB / 3.846 GB, free: 24.72 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005283/10.63, allocations: 1.766 MB / 3.847 GB, free: 24.69 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/10.63, allocations: 0 / 3.847 GB, free: 24.69 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001642/10.64, allocations: 0.8154 MB / 3.848 GB, free: 24.67 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/10.64, allocations: 462.8 kB / 3.849 GB, free: 24.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02074/10.66, allocations: 15.83 MB / 3.864 GB, free: 27.73 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001888/10.66, allocations: 1.389 MB / 3.865 GB, free: 27.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002227/10.66, allocations: 0.739 MB / 3.866 GB, free: 27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/10.67, allocations: 0.6919 MB / 3.867 GB, free: 27 MB / 0.5573 GB Notification: Performance of SimCode: time 1.914e-06/10.67, allocations: 3.25 kB / 3.867 GB, free: 27 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1304/10.8, allocations: 66.18 MB / 3.931 GB, free: 23.65 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/10.8, allocations: 269.5 kB / 3.932 GB, free: 23.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.437/15.23, allocations: 0 / 3.932 GB, free: 23.29 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat