Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.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.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",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.002028/0.002026, 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.108/2.108, 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.00112/0.00112, allocations: 78.66 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.2873/0.2873, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.707e-05, allocations: 8 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1294, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.592/9.722, allocations: 3.164 GB / 3.637 GB, free: 74.46 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/9.722, allocations: 80.5 kB / 3.637 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 13.71/23.43, allocations: 3.097 GB / 6.733 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.254e-06/23.43, allocations: 8 kB / 6.733 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003668/23.43, allocations: 63.98 kB / 6.734 GB, free: 17.05 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.01895/23.45, allocations: 3.595 MB / 6.737 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/23.45, allocations: 8.031 kB / 6.737 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001809/23.45, allocations: 343.3 kB / 6.737 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002566/23.46, allocations: 316.9 kB / 6.738 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009191/23.47, allocations: 2.07 MB / 6.74 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/23.47, allocations: 219.1 kB / 6.74 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001134/23.47, allocations: 188 kB / 6.74 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/23.48, allocations: 3.302 MB / 6.743 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.677e-05/23.48, allocations: 3.938 kB / 6.743 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005848/23.48, allocations: 91.95 kB / 6.743 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003718/23.48, allocations: 195.8 kB / 6.744 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00937/23.49, allocations: 3.018 MB / 6.747 GB, free: 3.41 MB / 0.5417 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.4691/23.96, allocations: 12.47 MB / 6.759 GB, free: 42.28 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007128/23.96, allocations: 2.231 MB / 6.761 GB, free: 42.13 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00372/23.97, allocations: 1.166 MB / 6.762 GB, free: 42.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0174/23.99, allocations: 5.747 MB / 6.768 GB, free: 39.37 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.556e-05/23.99, allocations: 55.39 kB / 6.768 GB, free: 39.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00179/23.99, allocations: 253.9 kB / 6.768 GB, free: 39.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=159): time 6.802e-06/23.99, allocations: 0 / 6.768 GB, free: 39.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260): time 1.023/25.01, allocations: 48.11 MB / 6.815 GB, free: 36.53 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1953/25.21, allocations: 36.66 MB / 6.851 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003838/25.21, allocations: 1.668 MB / 6.852 GB, free: 31.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0009068/25.21, allocations: 71.08 kB / 6.852 GB, free: 31.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008867/25.21, allocations: 1.002 MB / 6.853 GB, free: 30.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001461/25.21, allocations: 0.8734 MB / 6.854 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005277/25.21, allocations: 53.91 kB / 6.854 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001977/25.21, allocations: 423.6 kB / 6.855 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005598/25.22, allocations: 2.078 MB / 6.857 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006491/25.23, allocations: 2.662 MB / 6.859 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00909/25.23, allocations: 2.528 MB / 6.862 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.221e-05/25.23, allocations: 3.375 kB / 6.862 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.02374/25.26, allocations: 7.001 MB / 6.869 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.003013/25.26, allocations: 6.19 MB / 6.875 GB, free: 38.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.602e-05/25.26, allocations: 16.75 kB / 6.875 GB, free: 38.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07962/25.34, allocations: 11.6 MB / 6.886 GB, free: 38.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003026/25.34, allocations: 360 kB / 6.886 GB, free: 38.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0255/25.37, allocations: 8.195 MB / 6.894 GB, free: 36.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007815/25.38, allocations: 297.1 kB / 6.895 GB, free: 36.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/25.38, allocations: 161.3 kB / 6.895 GB, free: 36.44 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/25.38, allocations: 3.875 kB / 6.895 GB, free: 36.44 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02643/25.41, allocations: 6.667 MB / 6.901 GB, free: 34.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.052e-05/25.41, allocations: 20.55 kB / 6.901 GB, free: 34.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03814/25.44, allocations: 6.794 MB / 6.908 GB, free: 33.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003638/25.45, allocations: 398.6 kB / 6.908 GB, free: 33.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0244/25.47, allocations: 7.678 MB / 6.916 GB, free: 29.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006312/25.48, allocations: 291.7 kB / 6.916 GB, free: 29.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000756/25.48, allocations: 156.2 kB / 6.916 GB, free: 29.78 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 163 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 79,18 78} Notification: Performance of prepare postOptimizeDAE: time 0.001183/25.48, allocations: 255.1 kB / 6.917 GB, free: 29.58 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/25.48, allocations: 247.1 kB / 6.917 GB, free: 29.45 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02547/25.51, allocations: 7.782 MB / 6.924 GB, free: 24.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.74e-05/25.51, allocations: 38.61 kB / 6.924 GB, free: 24.47 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/25.51, allocations: 1.812 kB / 6.924 GB, free: 24.47 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02153/25.53, allocations: 6.811 MB / 6.931 GB, free: 18.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03956/25.57, allocations: 13.68 MB / 6.944 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-05/25.57, allocations: 7.812 kB / 6.944 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/25.57, allocations: 190.4 kB / 6.945 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6484/26.22, allocations: 11.58 MB / 6.956 GB, free: 60.21 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/26.22, allocations: 90.56 kB / 6.956 GB, free: 60.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02588/26.25, allocations: 8.058 MB / 6.964 GB, free: 59.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2203/26.47, allocations: 39.17 MB / 7.002 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02854/26.49, allocations: 10.1 MB / 7.012 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003859/26.5, allocations: 0.8704 MB / 7.013 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/26.5, allocations: 50.12 kB / 7.013 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006825/26.51, allocations: 281.1 kB / 7.013 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001156/26.51, allocations: 201.7 kB / 7.013 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005907/26.51, allocations: 114.5 kB / 7.013 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003079/26.51, allocations: 1.284 MB / 7.015 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.02e-07/26.51, allocations: 2.906 kB / 7.015 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01932/26.53, allocations: 3.564 MB / 7.018 GB, free: 53.57 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 77,19 107} Notification: Performance of Backend phase and start with SimCode phase: time 0.04451/26.58, allocations: 13.34 MB / 7.031 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03899/26.61, allocations: 8.802 MB / 7.04 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/26.61, allocations: 3.938 kB / 7.04 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01605/26.63, allocations: 3.15 MB / 7.043 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008566/26.64, allocations: 0.9481 MB / 7.044 GB, free: 51.78 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02755/26.67, allocations: 7.846 MB / 7.051 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/26.67, allocations: 2.092 MB / 7.054 GB, free: 49.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003191/26.67, allocations: 1.11 MB / 7.055 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of SimCode: time 1.322e-06/26.67, allocations: 0 / 7.055 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.321/32.99, allocations: 134.5 MB / 7.186 GB, free: 75.26 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState_res.mat does not exist to compare? outputFormat=mat