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.001505/0.001505, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001102/0.001101, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2964/0.2964, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.496e-05, allocations: 0 / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.519/8.641, allocations: 2.782 GB / 3.255 GB, free: 62.82 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/8.641, allocations: 87.42 kB / 3.255 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.214/10.86, allocations: 439.4 MB / 3.684 GB, free: 43.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.643e-06/10.86, allocations: 0 / 3.684 GB, free: 43.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.884e-05/10.86, allocations: 19.94 kB / 3.684 GB, free: 43.55 MB / 0.5105 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.007788/10.86, allocations: 1.752 MB / 3.685 GB, free: 41.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/10.86, allocations: 11.97 kB / 3.686 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002382/10.86, allocations: 106.4 kB / 3.686 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003503/10.87, allocations: 330.5 kB / 3.686 GB, free: 41.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/10.87, allocations: 0.5685 MB / 3.686 GB, free: 40.72 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/10.87, allocations: 45.83 kB / 3.687 GB, free: 40.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/10.87, allocations: 60.69 kB / 3.687 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002932/10.87, allocations: 0.9771 MB / 3.688 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/10.87, allocations: 3.938 kB / 3.688 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/10.87, allocations: 31.59 kB / 3.688 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/10.87, allocations: 21 kB / 3.688 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002675/10.87, allocations: 0.8111 MB / 3.688 GB, free: 38.72 MB / 0.5105 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.0065/10.88, allocations: 4.536 MB / 3.693 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002901/10.88, allocations: 0.7386 MB / 3.694 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/10.88, allocations: 242.1 kB / 3.694 GB, free: 32.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5725/11.46, allocations: 55.72 MB / 3.748 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/11.46, allocations: 39.84 kB / 3.748 GB, free: 48.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.765e-06/11.46, allocations: 1.5 kB / 3.748 GB, free: 48.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.007865/11.47, allocations: 1.863 MB / 3.75 GB, free: 48.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/11.47, allocations: 109.1 kB / 3.75 GB, free: 48.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008035/11.47, allocations: 444.4 kB / 3.751 GB, free: 48.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.649e-05/11.47, allocations: 37.39 kB / 3.751 GB, free: 48.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/11.47, allocations: 368.4 kB / 3.751 GB, free: 48.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/11.47, allocations: 177 kB / 3.751 GB, free: 47.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/11.47, allocations: 13 kB / 3.751 GB, free: 47.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.901e-05/11.47, allocations: 337.1 kB / 3.751 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005739/11.47, allocations: 197.8 kB / 3.752 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/11.47, allocations: 360.9 kB / 3.752 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/11.47, allocations: 241 kB / 3.752 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/11.47, allocations: 3.234 kB / 3.752 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002427/11.47, allocations: 0.7689 MB / 3.753 GB, free: 47.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004279/11.47, allocations: 1.745 MB / 3.755 GB, free: 45.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/11.47, allocations: 8.469 kB / 3.755 GB, free: 45.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/11.47, allocations: 384.5 kB / 3.755 GB, free: 45.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009834/11.48, allocations: 138.9 kB / 3.755 GB, free: 45.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/11.48, allocations: 0.8645 MB / 3.756 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/11.48, allocations: 102.6 kB / 3.756 GB, free: 45.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/11.48, allocations: 35.8 kB / 3.756 GB, free: 45.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/11.48, allocations: 3.625 kB / 3.756 GB, free: 45.06 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003417/11.48, allocations: 0.7751 MB / 3.757 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/11.48, allocations: 3.938 kB / 3.757 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/11.48, allocations: 291 kB / 3.757 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009483/11.49, allocations: 139.9 kB / 3.757 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/11.49, allocations: 0.8302 MB / 3.758 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/11.49, allocations: 95.7 kB / 3.758 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-05/11.49, allocations: 31.83 kB / 3.758 GB, free: 44.49 MB / 0.5105 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.0002966/11.49, allocations: 143.7 kB / 3.758 GB, free: 44.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/11.49, allocations: 66.89 kB / 3.758 GB, free: 44.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/11.49, allocations: 2.856 MB / 3.761 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-05/11.49, allocations: 44.67 kB / 3.761 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/11.49, allocations: 3.406 kB / 3.761 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/11.49, allocations: 4.969 kB / 3.761 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006405/11.5, allocations: 4.018 MB / 3.765 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/11.5, allocations: 0 / 3.765 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/11.5, allocations: 171.3 kB / 3.765 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004581/11.5, allocations: 66.84 kB / 3.765 GB, free: 43.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.278e-05/11.5, allocations: 21.2 kB / 3.765 GB, free: 43.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000679/11.5, allocations: 1.183 MB / 3.767 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/11.5, allocations: 3 kB / 3.767 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/11.51, allocations: 2.377 MB / 3.769 GB, free: 42.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008364/11.51, allocations: 335.1 kB / 3.769 GB, free: 42.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/11.51, allocations: 17.12 kB / 3.769 GB, free: 42.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009762/11.51, allocations: 75.31 kB / 3.769 GB, free: 42.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/11.51, allocations: 52.56 kB / 3.769 GB, free: 42.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.443e-05/11.51, allocations: 26.78 kB / 3.769 GB, free: 42.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007961/11.51, allocations: 450.5 kB / 3.77 GB, free: 42 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/11.51, allocations: 2.062 kB / 3.77 GB, free: 42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006899/11.52, allocations: 1.405 MB / 3.771 GB, free: 42 MB / 0.5105 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: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.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 (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.01521/11.53, allocations: 4.579 MB / 3.776 GB, free: 41.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004068/11.54, allocations: 1.282 MB / 3.777 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/11.54, allocations: 1.406 kB / 3.777 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/11.54, allocations: 0.8116 MB / 3.778 GB, free: 41.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/11.54, allocations: 325.5 kB / 3.778 GB, free: 41.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008704/11.55, allocations: 2.576 MB / 3.781 GB, free: 40.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006717/11.55, allocations: 1.161 MB / 3.782 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000851/11.55, allocations: 463.1 kB / 3.782 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/11.55, allocations: 2.562 kB / 3.782 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.062/15.61, allocations: 45.3 MB / 3.826 GB, free: 36.42 MB / 0.5105 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