Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.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_FixedInitial,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",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.002007/0.002007, allocations: 177 kB / 17.06 MB, free: 5.094 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.499/1.499, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009741/0.0009743, allocations: 92.41 kB / 292.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.369/0.369, allocations: 44.21 MB / 387.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003435, allocations: 12 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4232, allocations: 61.9 MB / 0.5096 GB, free: 38.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.029/9.453, allocations: 3.171 GB / 3.68 GB, free: 91.36 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/9.453, allocations: 87.78 kB / 3.68 GB, free: 91.36 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 10.99/20.44, allocations: 3.111 GB / 6.791 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.783e-06/20.44, allocations: 0 / 6.791 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002111/20.44, allocations: 59.98 kB / 6.791 GB, free: 1.285 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.513/20.96, allocations: 3.909 MB / 6.795 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.673e-05/20.96, allocations: 13.94 kB / 6.795 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001891/20.96, allocations: 352.9 kB / 6.795 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/20.96, allocations: 306.7 kB / 6.795 GB, free: 51 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0057/20.97, allocations: 2.113 MB / 6.798 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/20.97, allocations: 220 kB / 6.798 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004214/20.97, allocations: 202.1 kB / 6.798 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005944/20.97, allocations: 3.357 MB / 6.801 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.526e-05/20.97, allocations: 15.78 kB / 6.801 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002792/20.97, allocations: 93.7 kB / 6.801 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002763/20.97, allocations: 198.3 kB / 6.802 GB, free: 49.97 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005153/20.98, allocations: 3.112 MB / 6.805 GB, free: 49.96 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01961/21, allocations: 12.44 MB / 6.817 GB, free: 45 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003838/21, allocations: 2.261 MB / 6.819 GB, free: 44.84 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009261/21.01, allocations: 5.882 MB / 6.825 GB, free: 42.04 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/21.01, allocations: 60.03 kB / 6.825 GB, free: 41.99 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001306/21.01, allocations: 195.6 kB / 6.825 GB, free: 41.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=174): time 4.899e-06/21.01, allocations: 0 / 6.825 GB, free: 41.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=200): time 0.03383/21.05, allocations: 10.73 MB / 6.835 GB, free: 40.71 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/21.05, allocations: 129.5 kB / 6.835 GB, free: 40.58 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003546/21.05, allocations: 1.669 MB / 6.837 GB, free: 40.36 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003886/21.05, allocations: 65.58 kB / 6.837 GB, free: 40.33 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000773/21.05, allocations: 1.034 MB / 6.838 GB, free: 39.92 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007167/21.05, allocations: 0.6893 MB / 6.839 GB, free: 39.48 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/21.05, allocations: 46.41 kB / 6.839 GB, free: 39.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001433/21.05, allocations: 400.5 kB / 6.839 GB, free: 39.17 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/21.05, allocations: 1.232 MB / 6.84 GB, free: 39.16 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/21.06, allocations: 1.734 MB / 6.842 GB, free: 38.62 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/21.06, allocations: 1.481 MB / 6.844 GB, free: 38.59 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/21.06, allocations: 4.312 kB / 6.844 GB, free: 38.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.008553/21.07, allocations: 3.975 MB / 6.848 GB, free: 38.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00166/21.07, allocations: 5.8 MB / 6.853 GB, free: 32.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-05/21.07, allocations: 13.25 kB / 6.853 GB, free: 32.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005317/21.07, allocations: 1.221 MB / 6.854 GB, free: 32.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002948/21.08, allocations: 470.3 kB / 6.855 GB, free: 32.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/21.09, allocations: 10.62 MB / 6.865 GB, free: 24.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003764/21.09, allocations: 208 kB / 6.865 GB, free: 24.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007407/21.09, allocations: 107.5 kB / 6.866 GB, free: 24.28 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/21.09, allocations: 2.938 kB / 6.866 GB, free: 24.28 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00841/21.1, allocations: 3.571 MB / 6.869 GB, free: 24.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.739e-05/21.1, allocations: 16.78 kB / 6.869 GB, free: 24.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002857/21.1, allocations: 0.8933 MB / 6.87 GB, free: 24.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/21.11, allocations: 499.1 kB / 6.87 GB, free: 24.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008154/21.12, allocations: 10.31 MB / 6.88 GB, free: 16.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003599/21.12, allocations: 201 kB / 6.881 GB, free: 16.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008208/21.12, allocations: 105 kB / 6.881 GB, free: 16.18 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 () * Number of clocked 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 15,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.002805/21.12, allocations: 0.7053 MB / 6.881 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/21.12, allocations: 229.6 kB / 6.882 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/21.13, allocations: 4.068 MB / 6.886 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-05/21.13, allocations: 27 kB / 6.886 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.967e-05/21.13, allocations: 9.5 kB / 6.886 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006446/21.14, allocations: 3.463 MB / 6.889 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/21.15, allocations: 6.438 MB / 6.895 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/21.15, allocations: 0 / 6.895 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/21.15, allocations: 324.4 kB / 6.896 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004616/21.16, allocations: 1.271 MB / 6.897 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003754/21.16, allocations: 75.19 kB / 6.897 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/21.17, allocations: 10.58 MB / 6.907 GB, free: 22.71 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/21.17, allocations: 0 / 6.907 GB, free: 22.71 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/21.18, allocations: 5.279 MB / 6.912 GB, free: 22.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002497/21.18, allocations: 0.6409 MB / 6.913 GB, free: 21.83 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008769/21.18, allocations: 56.94 kB / 6.913 GB, free: 21.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002686/21.19, allocations: 154.4 kB / 6.913 GB, free: 21.75 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004724/21.19, allocations: 169.7 kB / 6.913 GB, free: 21.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003042/21.19, allocations: 80.7 kB / 6.913 GB, free: 21.71 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002872/21.19, allocations: 1.271 MB / 6.915 GB, free: 21.22 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.92e-07/21.19, allocations: 0 / 6.915 GB, free: 21.22 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01088/21.2, allocations: 1.985 MB / 6.917 GB, free: 20.98 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 170 * 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%) 2,(1,100.0%) 6,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01579/21.22, allocations: 7.107 MB / 6.924 GB, free: 18.21 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01274/21.23, allocations: 6.135 MB / 6.93 GB, free: 15.55 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/21.23, allocations: 3.219 kB / 6.93 GB, free: 15.55 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004734/21.24, allocations: 2.264 MB / 6.932 GB, free: 14.47 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005922/21.24, allocations: 0.9253 MB / 6.933 GB, free: 14.26 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02971/21.27, allocations: 18.44 MB / 6.951 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003365/21.27, allocations: 1.941 MB / 6.953 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.006468/21.28, allocations: 1.226 MB / 6.954 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002549/21.28, allocations: 1.016 MB / 6.955 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of SimCode: time 2.605e-06/21.28, allocations: 0 / 6.955 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6091/21.89, allocations: 86.84 MB / 7.04 GB, free: 72.07 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/21.89, allocations: 236.5 kB / 7.04 GB, free: 71.83 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.517/27.41, allocations: 0 / 7.04 GB, free: 71.83 MB / 0.5886 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat does not exist to compare? outputFormat=mat