Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",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.001741/0.001742, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 221.5 MB / 230.7 MB, free: 7.52 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.001088/0.001088, allocations: 93.97 kB / 281.6 MB, free: 5.258 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.275/0.275, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.73e-05/1.732e-05, allocations: 224 / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1251, allocations: 61.91 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.518/8.643, allocations: 2.787 GB / 3.281 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003846/8.643, allocations: 85.3 kB / 3.281 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.807/10.45, allocations: 439.8 MB / 3.711 GB, free: 76.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.665e-06/10.45, allocations: 0 / 3.711 GB, free: 76.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.979e-05/10.45, allocations: 18.38 kB / 3.711 GB, free: 76.9 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007443/10.46, allocations: 1.756 MB / 3.713 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/10.46, allocations: 18.36 kB / 3.713 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/10.46, allocations: 328.9 kB / 3.713 GB, free: 76.17 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/10.46, allocations: 0.5653 MB / 3.714 GB, free: 75.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/10.46, allocations: 25.59 kB / 3.714 GB, free: 75.93 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.45e-05/10.46, allocations: 33.59 kB / 3.714 GB, free: 75.93 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000921/10.46, allocations: 0.5432 MB / 3.714 GB, free: 75.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009599/10.46, allocations: 0.6716 MB / 3.715 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/10.46, allocations: 2.25 kB / 3.715 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-05/10.46, allocations: 2.281 kB / 3.715 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/10.46, allocations: 30.64 kB / 3.715 GB, free: 75.73 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.02102/10.48, allocations: 12.01 MB / 3.727 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009381/10.49, allocations: 486.9 kB / 3.727 GB, free: 68.01 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/10.49, allocations: 227 kB / 3.727 GB, free: 68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1055/10.59, allocations: 55.75 MB / 3.782 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/10.59, allocations: 38.58 kB / 3.782 GB, free: 33.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 2.695e-06/10.59, allocations: 0 / 3.782 GB, free: 33.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51): time 0.006186/10.6, allocations: 1.837 MB / 3.783 GB, free: 32.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/10.6, allocations: 110.2 kB / 3.784 GB, free: 32.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/10.6, allocations: 382.1 kB / 3.784 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/10.6, allocations: 25.7 kB / 3.784 GB, free: 32.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/10.6, allocations: 329.8 kB / 3.784 GB, free: 32.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/10.6, allocations: 174.8 kB / 3.784 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/10.6, allocations: 0 / 3.784 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/10.6, allocations: 368.8 kB / 3.785 GB, free: 32.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/10.6, allocations: 193.4 kB / 3.785 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/10.6, allocations: 360.8 kB / 3.785 GB, free: 31.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/10.6, allocations: 323.5 kB / 3.786 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/10.6, allocations: 0 / 3.786 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00198/10.6, allocations: 0.8352 MB / 3.786 GB, free: 31.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003379/10.6, allocations: 1.744 MB / 3.788 GB, free: 30 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/10.6, allocations: 6.75 kB / 3.788 GB, free: 30 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/10.6, allocations: 305 kB / 3.788 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/10.6, allocations: 136 kB / 3.789 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/10.61, allocations: 0.9463 MB / 3.79 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007773/10.61, allocations: 87.42 kB / 3.79 GB, free: 29.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-05/10.61, allocations: 34.77 kB / 3.79 GB, free: 29.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/10.61, allocations: 4.938 kB / 3.79 GB, free: 29.43 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001676/10.61, allocations: 0.6916 MB / 3.79 GB, free: 29.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/10.61, allocations: 5.141 kB / 3.79 GB, free: 29.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/10.61, allocations: 294.7 kB / 3.791 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/10.61, allocations: 144.7 kB / 3.791 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009465/10.61, allocations: 0.8709 MB / 3.792 GB, free: 28.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006837/10.61, allocations: 77.94 kB / 3.792 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/10.61, allocations: 36.31 kB / 3.792 GB, free: 28.84 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (56): * Single equations (assignments): 55 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.00022/10.61, allocations: 123.9 kB / 3.792 GB, free: 28.73 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001555/10.61, allocations: 0.5716 MB / 3.792 GB, free: 28.65 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/10.61, allocations: 55.47 kB / 3.792 GB, free: 28.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/10.62, allocations: 2.642 MB / 3.795 GB, free: 28.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.715e-05/10.62, allocations: 39.36 kB / 3.795 GB, free: 28.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/10.62, allocations: 3.656 kB / 3.795 GB, free: 28.31 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/10.62, allocations: 9.625 kB / 3.795 GB, free: 28.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004468/10.62, allocations: 3.618 MB / 3.799 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/10.62, allocations: 7.812 kB / 3.799 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000716/10.62, allocations: 168.5 kB / 3.799 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002165/10.62, allocations: 62.58 kB / 3.799 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/10.62, allocations: 17.12 kB / 3.799 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005744/10.62, allocations: 1.204 MB / 3.8 GB, free: 26.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/10.62, allocations: 3.312 kB / 3.8 GB, free: 26.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003222/10.63, allocations: 2.272 MB / 3.802 GB, free: 26.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000671/10.63, allocations: 317.5 kB / 3.803 GB, free: 26.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/10.63, allocations: 6.688 kB / 3.803 GB, free: 26.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007268/10.63, allocations: 62.14 kB / 3.803 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/10.63, allocations: 62.69 kB / 3.803 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/10.63, allocations: 18.41 kB / 3.803 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005927/10.63, allocations: 395.7 kB / 3.803 GB, free: 26.19 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/10.63, allocations: 2.625 kB / 3.803 GB, free: 26.19 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00723/10.64, allocations: 1.358 MB / 3.804 GB, free: 26 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse17.phase,$cse17.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 (66): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0186/10.66, allocations: 4.545 MB / 3.809 GB, free: 24.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003689/10.66, allocations: 1.23 MB / 3.81 GB, free: 24.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/10.66, allocations: 0 / 3.81 GB, free: 24.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00142/10.66, allocations: 0.7453 MB / 3.811 GB, free: 24.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/10.66, allocations: 282.4 kB / 3.811 GB, free: 24.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00758/10.67, allocations: 2.403 MB / 3.813 GB, free: 24.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/10.67, allocations: 1.149 MB / 3.814 GB, free: 23.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001362/10.67, allocations: 0.6969 MB / 3.815 GB, free: 23.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005279/10.67, allocations: 426.6 kB / 3.816 GB, free: 23.37 MB / 0.5261 GB Notification: Performance of SimCode: time 7.42e-07/10.67, allocations: 0 / 3.816 GB, free: 23.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/10.78, allocations: 50.51 MB / 3.865 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/10.78, allocations: 214.2 kB / 3.865 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.854/14.63, allocations: 0 / 3.865 GB, free: 8.281 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat