Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.3 MB / 236 MB, free: 2.992 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 91.78 kB / 287 MB, free: 264 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2134/0.2134, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.777e-05/3.779e-05, allocations: 8.203 kB / 451.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1477, allocations: 61.91 MB / 0.5018 GB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.24/9.387, allocations: 3.171 GB / 3.672 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/9.388, allocations: 82.48 kB / 3.672 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 12.17/21.56, allocations: 3.108 GB / 6.78 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.086e-06/21.56, allocations: 0 / 6.78 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000264/21.56, allocations: 65.73 kB / 6.78 GB, free: 54.33 MB / 0.5573 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.01628/21.57, allocations: 3.601 MB / 6.784 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/21.57, allocations: 9.844 kB / 6.784 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001227/21.57, allocations: 338.7 kB / 6.784 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/21.58, allocations: 312.3 kB / 6.784 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006274/21.58, allocations: 2.07 MB / 6.786 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/21.58, allocations: 216.7 kB / 6.786 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004077/21.58, allocations: 192.7 kB / 6.787 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005693/21.59, allocations: 3.3 MB / 6.79 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.738e-05/21.59, allocations: 2.812 kB / 6.79 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002713/21.59, allocations: 88.81 kB / 6.79 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000326/21.59, allocations: 203.4 kB / 6.79 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005066/21.59, allocations: 3.008 MB / 6.793 GB, free: 51.38 MB / 0.5573 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.01903/21.61, allocations: 12.49 MB / 6.805 GB, free: 46.27 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003487/21.62, allocations: 2.232 MB / 6.807 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/21.62, allocations: 1.168 MB / 6.809 GB, free: 46.1 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008644/21.63, allocations: 5.752 MB / 6.814 GB, free: 43.26 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/21.63, allocations: 51 kB / 6.814 GB, free: 43.22 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001275/21.63, allocations: 249 kB / 6.814 GB, free: 43.13 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=159): time 5.891e-06/21.63, allocations: 0 / 6.814 GB, free: 43.13 MB / 0.5573 GB Notification: Performance of matching and sorting (n=260): time 0.454/22.08, allocations: 48.09 MB / 6.861 GB, free: 40.36 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1048/22.19, allocations: 36.7 MB / 6.897 GB, free: 35.45 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/22.19, allocations: 1.666 MB / 6.899 GB, free: 35.21 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007513/22.19, allocations: 71.55 kB / 6.899 GB, free: 35.18 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006841/22.19, allocations: 1.065 MB / 6.9 GB, free: 34.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009253/22.19, allocations: 0.8815 MB / 6.901 GB, free: 34.19 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/22.19, allocations: 54.41 kB / 6.901 GB, free: 34.19 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001545/22.19, allocations: 415.2 kB / 6.901 GB, free: 33.88 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/22.2, allocations: 2.086 MB / 6.903 GB, free: 33.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003366/22.2, allocations: 2.658 MB / 6.906 GB, free: 32.16 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004574/22.2, allocations: 2.52 MB / 6.908 GB, free: 31.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/22.2, allocations: 7.594 kB / 6.908 GB, free: 31.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01239/22.22, allocations: 7.121 MB / 6.915 GB, free: 28.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001421/22.22, allocations: 6.443 MB / 6.922 GB, free: 21.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/22.22, allocations: 12.22 kB / 6.922 GB, free: 21.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04103/22.26, allocations: 11.61 MB / 6.933 GB, free: 17.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/22.26, allocations: 360.7 kB / 6.933 GB, free: 17.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/22.28, allocations: 8.199 MB / 6.941 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005156/22.28, allocations: 288.1 kB / 6.942 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008414/22.28, allocations: 155.3 kB / 6.942 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/22.28, allocations: 6.5 kB / 6.942 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01147/22.29, allocations: 6.676 MB / 6.948 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-05/22.29, allocations: 16 kB / 6.948 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02608/22.32, allocations: 7.806 MB / 6.956 GB, free: 15.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/22.32, allocations: 399 kB / 6.956 GB, free: 15.37 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/22.34, allocations: 7.694 MB / 6.964 GB, free: 8.609 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004817/22.34, allocations: 291.9 kB / 6.964 GB, free: 8.344 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000659/22.34, allocations: 147.9 kB / 6.964 GB, free: 8.199 MB / 0.573 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.001008/22.34, allocations: 256.9 kB / 6.965 GB, free: 7.965 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007873/22.34, allocations: 252.9 kB / 6.965 GB, free: 7.715 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01737/22.36, allocations: 7.774 MB / 6.972 GB, free: 4 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.468/22.83, allocations: 30.42 kB / 6.972 GB, free: 66.09 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/22.83, allocations: 1.094 kB / 6.972 GB, free: 66.09 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01616/22.85, allocations: 6.801 MB / 6.979 GB, free: 65.64 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02978/22.88, allocations: 13.69 MB / 6.992 GB, free: 64.56 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/22.88, allocations: 1.031 kB / 6.992 GB, free: 64.56 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009429/22.88, allocations: 197.5 kB / 6.993 GB, free: 64.56 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0445/22.92, allocations: 11.33 MB / 7.004 GB, free: 64.43 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001001/22.92, allocations: 84.3 kB / 7.004 GB, free: 64.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/22.94, allocations: 8.059 MB / 7.012 GB, free: 63.33 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.111/23.05, allocations: 39.17 MB / 7.05 GB, free: 58.82 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0177/23.06, allocations: 10.1 MB / 7.06 GB, free: 58.23 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003296/23.07, allocations: 0.8703 MB / 7.061 GB, free: 58 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000836/23.07, allocations: 53.31 kB / 7.061 GB, free: 58 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003363/23.07, allocations: 273.5 kB / 7.061 GB, free: 57.99 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004919/23.07, allocations: 206.4 kB / 7.061 GB, free: 57.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003247/23.07, allocations: 115.6 kB / 7.061 GB, free: 57.98 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002034/23.08, allocations: 1.282 MB / 7.062 GB, free: 57.82 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.953e-06/23.08, allocations: 0 / 7.062 GB, free: 57.82 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01432/23.09, allocations: 3.563 MB / 7.066 GB, free: 57.82 MB / 0.573 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.02743/23.12, allocations: 13.34 MB / 7.079 GB, free: 54.31 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02303/23.14, allocations: 8.883 MB / 7.088 GB, free: 51.52 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.85e-05/23.14, allocations: 0 / 7.088 GB, free: 51.52 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009604/23.15, allocations: 3.183 MB / 7.091 GB, free: 50.55 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005756/23.16, allocations: 0.9475 MB / 7.092 GB, free: 50.33 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/23.17, allocations: 7.78 MB / 7.099 GB, free: 47.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/23.18, allocations: 2.117 MB / 7.101 GB, free: 46.33 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004792/23.18, allocations: 1.195 MB / 7.102 GB, free: 46.29 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001871/23.18, allocations: 1.069 MB / 7.104 GB, free: 45.47 MB / 0.573 GB Notification: Performance of SimCode: time 9.62e-07/23.18, allocations: 0 / 7.104 GB, free: 45.47 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.289/24.47, allocations: 208.4 MB / 7.307 GB, free: 29.85 MB / 0.5887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/24.47, allocations: 214.7 kB / 7.307 GB, free: 29.62 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.3/42.77, allocations: 7.578 kB / 7.307 GB, free: 29.62 MB / 0.5887 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState_res.mat does not exist to compare? outputFormat=mat