Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",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.002048/0.002048, allocations: 179.4 kB / 8.364 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.11/2.11, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001122/0.001121, allocations: 92.92 kB / 262.1 MB, free: 13.88 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.3066/0.3066, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.51e-05/2.526e-05, allocations: 8.203 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4343, allocations: 58.84 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.385/8.82, allocations: 2.781 GB / 3.247 GB, free: 7.578 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/8.82, allocations: 81.02 kB / 3.247 GB, free: 7.535 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.616/11.44, allocations: 435.2 MB / 3.672 GB, free: 57.52 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.645e-06/11.44, allocations: 0 / 3.672 GB, free: 57.52 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 6.525e-05/11.44, allocations: 16.94 kB / 3.672 GB, free: 57.52 MB / 0.4952 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.008199/11.44, allocations: 1.749 MB / 3.674 GB, free: 56.8 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/11.44, allocations: 10.81 kB / 3.674 GB, free: 56.8 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003688/11.45, allocations: 336 kB / 3.674 GB, free: 56.76 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/11.45, allocations: 0.5711 MB / 3.675 GB, free: 56.53 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.339e-05/11.45, allocations: 23.09 kB / 3.675 GB, free: 56.53 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/11.45, allocations: 35.53 kB / 3.675 GB, free: 56.53 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00141/11.45, allocations: 0.5448 MB / 3.675 GB, free: 56.52 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/11.45, allocations: 0.6707 MB / 3.676 GB, free: 56.32 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/11.45, allocations: 1.312 kB / 3.676 GB, free: 56.32 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-05/11.45, allocations: 4.156 kB / 3.676 GB, free: 56.32 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.646e-05/11.45, allocations: 22.41 kB / 3.676 GB, free: 56.32 MB / 0.4952 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.03251/11.49, allocations: 12.02 MB / 3.688 GB, free: 48.62 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/11.49, allocations: 475.8 kB / 3.688 GB, free: 48.6 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005468/11.49, allocations: 227.1 kB / 3.688 GB, free: 48.59 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1749/11.66, allocations: 55.75 MB / 3.743 GB, free: 29.93 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.512e-05/11.66, allocations: 42.16 kB / 3.743 GB, free: 29.89 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=47): time 3.085e-06/11.66, allocations: 3.281 kB / 3.743 GB, free: 29.89 MB / 0.5108 GB Notification: Performance of matching and sorting (n=51): time 0.00949/11.67, allocations: 1.839 MB / 3.745 GB, free: 29.49 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/11.67, allocations: 106.9 kB / 3.745 GB, free: 29.36 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006779/11.67, allocations: 378.8 kB / 3.745 GB, free: 29.24 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 9.68e-05/11.67, allocations: 25.7 kB / 3.745 GB, free: 29.21 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/11.67, allocations: 377.8 kB / 3.745 GB, free: 28.96 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/11.67, allocations: 168.8 kB / 3.746 GB, free: 28.85 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/11.67, allocations: 0 / 3.746 GB, free: 28.85 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001861/11.67, allocations: 338.5 kB / 3.746 GB, free: 28.54 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/11.67, allocations: 194.8 kB / 3.746 GB, free: 28.54 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/11.68, allocations: 353.6 kB / 3.746 GB, free: 28.36 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/11.68, allocations: 334.9 kB / 3.747 GB, free: 28.34 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/11.68, allocations: 0 / 3.747 GB, free: 28.34 MB / 0.5108 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0033/11.68, allocations: 0.8006 MB / 3.748 GB, free: 28.28 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008227/11.68, allocations: 1.749 MB / 3.749 GB, free: 26.45 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/11.68, allocations: 6.844 kB / 3.749 GB, free: 26.45 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/11.68, allocations: 305.3 kB / 3.75 GB, free: 26.43 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009817/11.68, allocations: 134.7 kB / 3.75 GB, free: 26.43 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/11.69, allocations: 0.9564 MB / 3.751 GB, free: 25.89 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/11.69, allocations: 81.8 kB / 3.751 GB, free: 25.88 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/11.69, allocations: 35.23 kB / 3.751 GB, free: 25.88 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/11.69, allocations: 3.844 kB / 3.751 GB, free: 25.88 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00283/11.69, allocations: 0.6917 MB / 3.751 GB, free: 25.86 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/11.69, allocations: 3.562 kB / 3.751 GB, free: 25.86 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/11.69, allocations: 281 kB / 3.752 GB, free: 25.84 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009558/11.69, allocations: 138.6 kB / 3.752 GB, free: 25.84 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/11.7, allocations: 0.8545 MB / 3.753 GB, free: 25.31 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/11.7, allocations: 83.06 kB / 3.753 GB, free: 25.29 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.165e-05/11.7, allocations: 37.59 kB / 3.753 GB, free: 25.29 MB / 0.5108 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.0003257/11.7, allocations: 117.3 kB / 3.753 GB, free: 25.18 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002484/11.7, allocations: 0.572 MB / 3.753 GB, free: 25.11 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/11.7, allocations: 60.47 kB / 3.754 GB, free: 25.07 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/11.71, allocations: 2.638 MB / 3.756 GB, free: 24.75 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.345e-05/11.71, allocations: 49.44 kB / 3.756 GB, free: 24.75 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/11.71, allocations: 0 / 3.756 GB, free: 24.75 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/11.71, allocations: 3.797 kB / 3.756 GB, free: 24.75 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006484/11.71, allocations: 3.619 MB / 3.76 GB, free: 24.34 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/11.71, allocations: 0 / 3.76 GB, free: 24.34 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/11.71, allocations: 172.3 kB / 3.76 GB, free: 24.34 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003423/11.71, allocations: 67.38 kB / 3.76 GB, free: 24.32 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/11.71, allocations: 6.938 kB / 3.76 GB, free: 24.32 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/11.72, allocations: 1.207 MB / 3.761 GB, free: 23.21 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/11.72, allocations: 0 / 3.761 GB, free: 23.21 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004378/11.72, allocations: 2.277 MB / 3.763 GB, free: 22.95 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007441/11.72, allocations: 313.9 kB / 3.764 GB, free: 22.76 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/11.72, allocations: 7 kB / 3.764 GB, free: 22.76 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009492/11.72, allocations: 72.91 kB / 3.764 GB, free: 22.74 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/11.72, allocations: 57.42 kB / 3.764 GB, free: 22.74 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.987e-05/11.72, allocations: 27.58 kB / 3.764 GB, free: 22.74 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0006664/11.72, allocations: 393.1 kB / 3.764 GB, free: 22.64 MB / 0.5108 GB Notification: Performance of sort global known variables: time 5.31e-07/11.72, allocations: 0 / 3.764 GB, free: 22.64 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.007218/11.73, allocations: 1.35 MB / 3.765 GB, free: 22.45 MB / 0.5108 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.01652/11.75, allocations: 4.535 MB / 3.77 GB, free: 21.36 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.003788/11.75, allocations: 1.2 MB / 3.771 GB, free: 21.33 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/11.75, allocations: 3.938 kB / 3.771 GB, free: 21.33 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/11.75, allocations: 0.747 MB / 3.772 GB, free: 21.32 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/11.75, allocations: 275.3 kB / 3.772 GB, free: 21.3 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008836/11.76, allocations: 2.438 MB / 3.774 GB, free: 20.55 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008615/11.76, allocations: 1.143 MB / 3.776 GB, free: 19.84 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008445/11.77, allocations: 447.5 kB / 3.776 GB, free: 19.82 MB / 0.5108 GB Notification: Performance of SimCode: time 1.173e-06/11.77, allocations: 0 / 3.776 GB, free: 19.82 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.923/15.69, allocations: 45.07 MB / 3.82 GB, free: 4.062 MB / 0.5108 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat