Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.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_FixedInitial,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",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.001527/0.001527, 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.444/2.444, 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.001096/0.001096, allocations: 78.64 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.2726/0.2726, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.807e-05/2.835e-05, allocations: 0 / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.554/9.672, allocations: 3.164 GB / 3.637 GB, free: 74.15 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/9.672, allocations: 76.72 kB / 3.637 GB, free: 74.12 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 13.84/23.51, allocations: 3.098 GB / 6.735 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.984e-06/23.51, allocations: 3.938 kB / 6.735 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003424/23.51, allocations: 71.92 kB / 6.735 GB, free: 15.46 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.01769/23.53, allocations: 3.591 MB / 6.738 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/23.53, allocations: 8.031 kB / 6.738 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001484/23.53, allocations: 359.3 kB / 6.738 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/23.53, allocations: 312.9 kB / 6.739 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008527/23.54, allocations: 2.078 MB / 6.741 GB, free: 9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/23.54, allocations: 223.1 kB / 6.741 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009988/23.54, allocations: 196 kB / 6.741 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009161/23.55, allocations: 3.314 MB / 6.744 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.035e-05/23.55, allocations: 7.938 kB / 6.744 GB, free: 5.078 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004778/23.55, allocations: 83.95 kB / 6.745 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003647/23.55, allocations: 203.8 kB / 6.745 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008732/23.56, allocations: 3.029 MB / 6.748 GB, free: 1.766 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.4587/24.02, allocations: 12.44 MB / 6.76 GB, free: 41.57 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007482/24.03, allocations: 2.196 MB / 6.762 GB, free: 41.43 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00428/24.03, allocations: 1.337 MB / 6.763 GB, free: 41.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01782/24.05, allocations: 6.002 MB / 6.769 GB, free: 38.65 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.263e-05/24.05, allocations: 57.66 kB / 6.769 GB, free: 38.61 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001964/24.05, allocations: 193.7 kB / 6.769 GB, free: 38.56 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=172): time 1.495e-05/24.05, allocations: 1.344 kB / 6.769 GB, free: 38.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=198): time 0.04643/24.1, allocations: 8.878 MB / 6.778 GB, free: 37.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/24.1, allocations: 123.2 kB / 6.778 GB, free: 37.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00386/24.1, allocations: 1.655 MB / 6.78 GB, free: 37.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000704/24.1, allocations: 63.14 kB / 6.78 GB, free: 37.31 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008516/24.1, allocations: 0.9685 MB / 6.781 GB, free: 36.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001201/24.11, allocations: 0.6888 MB / 6.781 GB, free: 36.46 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/24.11, allocations: 49.12 kB / 6.782 GB, free: 36.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002116/24.11, allocations: 398.3 kB / 6.782 GB, free: 36.15 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00376/24.11, allocations: 1.183 MB / 6.783 GB, free: 36.14 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003828/24.11, allocations: 1.695 MB / 6.785 GB, free: 35.59 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003833/24.12, allocations: 1.438 MB / 6.786 GB, free: 35.56 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.121e-05/24.12, allocations: 3.906 kB / 6.786 GB, free: 35.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.0118/24.13, allocations: 3.722 MB / 6.79 GB, free: 35.37 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001265/24.13, allocations: 5.657 MB / 6.795 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.171e-05/24.13, allocations: 16.09 kB / 6.795 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007069/24.14, allocations: 1.151 MB / 6.796 GB, free: 29.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00409/24.14, allocations: 470.4 kB / 6.797 GB, free: 29.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01453/24.16, allocations: 10.51 MB / 6.807 GB, free: 37.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004636/24.16, allocations: 191.8 kB / 6.807 GB, free: 37.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006527/24.16, allocations: 113.2 kB / 6.807 GB, free: 37.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/24.16, allocations: 3.469 kB / 6.807 GB, free: 37.48 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01038/24.17, allocations: 3.45 MB / 6.811 GB, free: 37.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.473e-05/24.17, allocations: 14.75 kB / 6.811 GB, free: 37.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003926/24.18, allocations: 0.8166 MB / 6.812 GB, free: 37.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004571/24.18, allocations: 0.4946 MB / 6.812 GB, free: 37.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/24.19, allocations: 10.19 MB / 6.822 GB, free: 29.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003424/24.2, allocations: 188.2 kB / 6.822 GB, free: 29.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003737/24.2, allocations: 106.6 kB / 6.822 GB, free: 29.39 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (248): * Single equations (assignments): 240 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {5 14,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0009128/24.2, allocations: 244.8 kB / 6.823 GB, free: 29.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008216/24.2, allocations: 227.4 kB / 6.823 GB, free: 29.15 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/24.21, allocations: 3.879 MB / 6.827 GB, free: 28.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.627e-05/24.21, allocations: 27.5 kB / 6.827 GB, free: 28.93 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/24.21, allocations: 4.719 kB / 6.827 GB, free: 28.93 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009073/24.22, allocations: 3.286 MB / 6.83 GB, free: 28.46 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01867/24.24, allocations: 6.336 MB / 6.836 GB, free: 27.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/24.24, allocations: 7.797 kB / 6.836 GB, free: 27.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003051/24.24, allocations: 317.3 kB / 6.836 GB, free: 27.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007305/24.25, allocations: 1.189 MB / 6.837 GB, free: 27.89 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007361/24.25, allocations: 79.94 kB / 6.838 GB, free: 27.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/24.26, allocations: 10.41 MB / 6.848 GB, free: 35.96 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/24.26, allocations: 0 / 6.848 GB, free: 35.96 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/24.28, allocations: 5.116 MB / 6.853 GB, free: 35.55 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002696/24.28, allocations: 0.6403 MB / 6.853 GB, free: 35.33 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009034/24.28, allocations: 52.94 kB / 6.853 GB, free: 35.33 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003559/24.29, allocations: 161.8 kB / 6.854 GB, free: 35.31 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006388/24.29, allocations: 167.2 kB / 6.854 GB, free: 35.31 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003128/24.29, allocations: 84.25 kB / 6.854 GB, free: 35.31 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002894/24.29, allocations: 1.27 MB / 6.855 GB, free: 35.15 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.21e-07/24.29, allocations: 0 / 6.855 GB, free: 35.15 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009795/24.3, allocations: 1.988 MB / 6.857 GB, free: 35.07 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.medium.T,tank.level,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * 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 (183): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01924/24.32, allocations: 6.924 MB / 6.864 GB, free: 34.03 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01774/24.34, allocations: 5.999 MB / 6.87 GB, free: 32.83 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/24.34, allocations: 7.562 kB / 6.87 GB, free: 32.83 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006679/24.34, allocations: 2.193 MB / 6.872 GB, free: 31.76 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008408/24.35, allocations: 0.9653 MB / 6.873 GB, free: 31.53 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/24.37, allocations: 5.773 MB / 6.878 GB, free: 29.66 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002053/24.37, allocations: 1.911 MB / 6.88 GB, free: 28.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002775/24.38, allocations: 1.047 MB / 6.881 GB, free: 28.04 MB / 0.573 GB Notification: Performance of SimCode: time 1.092e-06/24.38, allocations: 0 / 6.881 GB, free: 28.04 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.244/29.62, allocations: 132.8 MB / 7.011 GB, free: 72.89 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat does not exist to compare? outputFormat=mat