Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",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.00152/0.00152, allocations: 181.4 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.043/2.043, 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.001111/0.001111, allocations: 78.7 kB / 267.5 MB, free: 14.04 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.2942/0.2942, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.618e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1309, allocations: 58.86 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.594/8.725, allocations: 2.782 GB / 3.254 GB, free: 57.32 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/8.725, allocations: 85.8 kB / 3.254 GB, free: 57.28 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.184/10.91, allocations: 438.8 MB / 3.683 GB, free: 39.15 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.833e-06/10.91, allocations: 0 / 3.683 GB, free: 39.15 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.147e-05/10.91, allocations: 20 kB / 3.683 GB, free: 39.13 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.007717/10.92, allocations: 1.746 MB / 3.685 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/10.92, allocations: 8.031 kB / 3.685 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002079/10.92, allocations: 102.5 kB / 3.685 GB, free: 37.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/10.92, allocations: 329.8 kB / 3.685 GB, free: 36.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/10.92, allocations: 0.5649 MB / 3.686 GB, free: 36.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.884e-05/10.92, allocations: 53.31 kB / 3.686 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/10.92, allocations: 52.69 kB / 3.686 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/10.93, allocations: 0.969 MB / 3.687 GB, free: 35.17 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/10.93, allocations: 3.938 kB / 3.687 GB, free: 35.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/10.93, allocations: 31.98 kB / 3.687 GB, free: 35.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/10.93, allocations: 21 kB / 3.687 GB, free: 35.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002876/10.93, allocations: 0.804 MB / 3.688 GB, free: 34.31 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.008054/10.94, allocations: 4.808 MB / 3.692 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/10.94, allocations: 0.6351 MB / 3.693 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/10.94, allocations: 221.4 kB / 3.693 GB, free: 28.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0749/11.02, allocations: 24.16 MB / 3.717 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/11.02, allocations: 50.45 kB / 3.717 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 3.466e-06/11.02, allocations: 0 / 3.717 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.004474/11.02, allocations: 0.9932 MB / 3.718 GB, free: 144 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/11.02, allocations: 114.8 kB / 3.718 GB, free: 4 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3838/11.4, allocations: 448.4 kB / 3.718 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001646/11.4, allocations: 32.64 kB / 3.718 GB, free: 65.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/11.4, allocations: 371 kB / 3.719 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/11.4, allocations: 152.2 kB / 3.719 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/11.4, allocations: 9.781 kB / 3.719 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.892e-05/11.4, allocations: 333.6 kB / 3.719 GB, free: 65.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/11.41, allocations: 165.2 kB / 3.719 GB, free: 65.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/11.41, allocations: 343.3 kB / 3.72 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/11.41, allocations: 205 kB / 3.72 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/11.41, allocations: 1.688 kB / 3.72 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001855/11.41, allocations: 0.6219 MB / 3.72 GB, free: 65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005216/11.41, allocations: 2.006 MB / 3.722 GB, free: 62.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/11.41, allocations: 6.844 kB / 3.722 GB, free: 62.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003344/11.41, allocations: 265.6 kB / 3.723 GB, free: 62.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/11.41, allocations: 137.9 kB / 3.723 GB, free: 62.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/11.41, allocations: 0.7468 MB / 3.723 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/11.42, allocations: 120.7 kB / 3.724 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/11.42, allocations: 38.31 kB / 3.724 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/11.42, allocations: 4.031 kB / 3.724 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002736/11.42, allocations: 0.6037 MB / 3.724 GB, free: 62.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/11.42, allocations: 7.594 kB / 3.724 GB, free: 62.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/11.42, allocations: 155.4 kB / 3.724 GB, free: 62.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/11.42, allocations: 138.8 kB / 3.724 GB, free: 62.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008613/11.42, allocations: 0.701 MB / 3.725 GB, free: 61.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/11.42, allocations: 99.53 kB / 3.725 GB, free: 61.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.71e-05/11.42, allocations: 29.53 kB / 3.725 GB, free: 61.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (55): * Single equations (assignments): 54 * 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.0003566/11.42, allocations: 145.3 kB / 3.725 GB, free: 61.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/11.42, allocations: 61.5 kB / 3.725 GB, free: 61.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004751/11.43, allocations: 2.987 MB / 3.728 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.414e-05/11.43, allocations: 44.62 kB / 3.728 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/11.43, allocations: 2.75 kB / 3.728 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/11.43, allocations: 8.891 kB / 3.728 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/11.43, allocations: 1.448 MB / 3.73 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/11.43, allocations: 0 / 3.73 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007681/11.43, allocations: 92.95 kB / 3.73 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003783/11.44, allocations: 1.215 MB / 3.731 GB, free: 61.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/11.44, allocations: 9.969 kB / 3.731 GB, free: 61.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/11.44, allocations: 1.474 MB / 3.733 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/11.44, allocations: 0 / 3.733 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003734/11.44, allocations: 1.969 MB / 3.735 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008234/11.44, allocations: 329.4 kB / 3.735 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/11.44, allocations: 8.531 kB / 3.735 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/11.44, allocations: 83.05 kB / 3.735 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/11.45, allocations: 55.3 kB / 3.735 GB, free: 60.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.447e-05/11.45, allocations: 23.48 kB / 3.735 GB, free: 60.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001021/11.45, allocations: 453.8 kB / 3.735 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.51e-07/11.45, allocations: 0.8125 kB / 3.735 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00779/11.45, allocations: 1.42 MB / 3.737 GB, free: 59.94 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01502/11.47, allocations: 3.823 MB / 3.741 GB, free: 59.06 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003146/11.47, allocations: 1.112 MB / 3.742 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/11.47, allocations: 0 / 3.742 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/11.47, allocations: 0.7296 MB / 3.742 GB, free: 59.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/11.48, allocations: 305 kB / 3.743 GB, free: 59.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00847/11.49, allocations: 2.368 MB / 3.745 GB, free: 58.51 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008208/11.49, allocations: 1.152 MB / 3.746 GB, free: 57.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007787/11.49, allocations: 408.4 kB / 3.746 GB, free: 57.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.041e-06/11.49, allocations: 0.8438 kB / 3.746 GB, free: 57.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.123/15.61, allocations: 42.18 MB / 3.788 GB, free: 55.38 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat