Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_3_2_3_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.001532/0.001532, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008238/0.000824, allocations: 92.25 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.397/0.397, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.973e-05/3.974e-05, allocations: 0 / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1322, allocations: 58.84 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.424/9.557, allocations: 3.164 GB / 3.637 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/9.557, allocations: 85 kB / 3.637 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 11.71/21.27, allocations: 3.098 GB / 6.735 GB, free: 47.83 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.553e-06/21.27, allocations: 0 / 6.735 GB, free: 47.83 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002287/21.27, allocations: 68.47 kB / 6.735 GB, free: 47.82 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.01606/21.28, allocations: 3.595 MB / 6.738 GB, free: 45.99 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/21.28, allocations: 7.875 kB / 6.738 GB, free: 45.99 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001516/21.28, allocations: 345.2 kB / 6.738 GB, free: 45.93 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/21.29, allocations: 318.1 kB / 6.739 GB, free: 45.78 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005767/21.29, allocations: 2.09 MB / 6.741 GB, free: 45.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/21.29, allocations: 221.4 kB / 6.741 GB, free: 45.18 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004928/21.29, allocations: 199 kB / 6.741 GB, free: 45.18 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005564/21.3, allocations: 3.298 MB / 6.744 GB, free: 44.67 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.414e-05/21.3, allocations: 7.906 kB / 6.744 GB, free: 44.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002769/21.3, allocations: 89.05 kB / 6.745 GB, free: 44.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002413/21.3, allocations: 206.4 kB / 6.745 GB, free: 44.65 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004812/21.3, allocations: 3.023 MB / 6.748 GB, free: 43.58 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.01847/21.32, allocations: 12.45 MB / 6.76 GB, free: 32.71 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00344/21.33, allocations: 2.209 MB / 6.762 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001788/21.33, allocations: 1.35 MB / 6.763 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00865/21.34, allocations: 5.989 MB / 6.769 GB, free: 24.01 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/21.34, allocations: 60.52 kB / 6.769 GB, free: 23.95 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001158/21.34, allocations: 188 kB / 6.769 GB, free: 23.77 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=172): time 4.559e-06/21.34, allocations: 7.75 kB / 6.769 GB, free: 23.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=198): time 0.02777/21.37, allocations: 8.864 MB / 6.778 GB, free: 16.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/21.37, allocations: 120.8 kB / 6.778 GB, free: 16.26 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003626/21.37, allocations: 1.657 MB / 6.78 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004123/21.37, allocations: 61.7 kB / 6.78 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008847/21.37, allocations: 1.049 MB / 6.781 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008592/21.37, allocations: 0.6763 MB / 6.782 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003174/21.37, allocations: 52 kB / 6.782 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002056/21.37, allocations: 400 kB / 6.782 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002002/21.37, allocations: 1.175 MB / 6.783 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/21.38, allocations: 1.702 MB / 6.785 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/21.38, allocations: 1.436 MB / 6.786 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/21.38, allocations: 4 kB / 6.786 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.00801/21.39, allocations: 3.853 MB / 6.79 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.4527/21.84, allocations: 5.892 MB / 6.796 GB, free: 43.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-05/21.84, allocations: 14.62 kB / 6.796 GB, free: 43.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005383/21.84, allocations: 1.144 MB / 6.797 GB, free: 43.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/21.85, allocations: 472.2 kB / 6.797 GB, free: 43.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/21.86, allocations: 10.5 MB / 6.808 GB, free: 35.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003802/21.86, allocations: 199.3 kB / 6.808 GB, free: 35.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009255/21.86, allocations: 114.5 kB / 6.808 GB, free: 35.26 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/21.86, allocations: 8.219 kB / 6.808 GB, free: 35.26 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008927/21.87, allocations: 3.449 MB / 6.811 GB, free: 35.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-05/21.87, allocations: 14.44 kB / 6.811 GB, free: 35.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/21.88, allocations: 0.8508 MB / 6.812 GB, free: 35.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/21.88, allocations: 0.4902 MB / 6.813 GB, free: 35.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008464/21.89, allocations: 10.2 MB / 6.823 GB, free: 27.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003515/21.89, allocations: 189.2 kB / 6.823 GB, free: 27.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008153/21.89, allocations: 107.7 kB / 6.823 GB, free: 27.24 MB / 0.5417 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.001481/21.89, allocations: 244 kB / 6.823 GB, free: 27.13 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/21.89, allocations: 233.1 kB / 6.823 GB, free: 27.13 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/21.9, allocations: 3.879 MB / 6.827 GB, free: 26.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.164e-05/21.9, allocations: 30.28 kB / 6.827 GB, free: 26.95 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.402e-05/21.9, allocations: 3.219 kB / 6.827 GB, free: 26.95 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006068/21.91, allocations: 3.288 MB / 6.83 GB, free: 26.48 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/21.92, allocations: 6.331 MB / 6.836 GB, free: 26.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/21.92, allocations: 0 / 6.836 GB, free: 26.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/21.93, allocations: 319.9 kB / 6.837 GB, free: 26.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004857/21.93, allocations: 1.197 MB / 6.838 GB, free: 25.96 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005527/21.93, allocations: 75.55 kB / 6.838 GB, free: 25.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009899/21.94, allocations: 10.41 MB / 6.848 GB, free: 34.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/21.94, allocations: 6.391 kB / 6.848 GB, free: 34.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/21.95, allocations: 5.123 MB / 6.853 GB, free: 33.69 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/21.96, allocations: 0.6393 MB / 6.854 GB, free: 33.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/21.96, allocations: 53.92 kB / 6.854 GB, free: 33.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002698/21.96, allocations: 153.7 kB / 6.854 GB, free: 33.47 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005462/21.96, allocations: 170.8 kB / 6.854 GB, free: 33.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003485/21.96, allocations: 81.47 kB / 6.854 GB, free: 33.47 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003605/21.96, allocations: 1.272 MB / 6.855 GB, free: 33.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.52e-07/21.96, allocations: 0 / 6.855 GB, free: 33.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01171/21.98, allocations: 1.982 MB / 6.857 GB, free: 33.31 MB / 0.5573 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.0188/21.99, allocations: 6.938 MB / 6.864 GB, free: 32.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01837/22.01, allocations: 6.076 MB / 6.87 GB, free: 31.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/22.01, allocations: 0.875 kB / 6.87 GB, free: 31.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005284/22.02, allocations: 2.213 MB / 6.872 GB, free: 30.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006793/22.03, allocations: 0.9586 MB / 6.873 GB, free: 30.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/22.05, allocations: 5.764 MB / 6.879 GB, free: 29.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002671/22.05, allocations: 1.94 MB / 6.881 GB, free: 28.74 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007964/22.06, allocations: 1.455 MB / 6.882 GB, free: 28.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003383/22.06, allocations: 0.9907 MB / 6.883 GB, free: 28.65 MB / 0.5573 GB Notification: Performance of SimCode: time 3.867e-06/22.06, allocations: 0 / 6.883 GB, free: 28.65 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1845/22.24, allocations: 91.06 MB / 6.972 GB, free: 18.28 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/22.24, allocations: 215.3 kB / 6.972 GB, free: 18.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.085/28.33, allocations: 0 / 6.972 GB, free: 18.05 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat does not exist to compare? outputFormat=mat