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.001183/0.001183, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 221.5 MB / 230.7 MB, free: 7.496 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.0009107/0.0009106, allocations: 99.41 kB / 281.6 MB, free: 5.246 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.1964/0.1964, allocations: 44.15 MB / 376.5 MB, free: 3.008 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.648e-05, allocations: 4.156 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 61.93 MB / 0.4948 GB, free: 1.125 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.39/8.512, allocations: 3.17 GB / 3.665 GB, free: 134 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/8.512, allocations: 81.58 kB / 3.665 GB, free: 134 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 11.86/20.38, allocations: 3.078 GB / 6.742 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.454e-06/20.38, allocations: 0 / 6.742 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002581/20.38, allocations: 67 kB / 6.742 GB, free: 11.86 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.01702/20.39, allocations: 3.606 MB / 6.746 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/20.39, allocations: 11.98 kB / 6.746 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/20.4, allocations: 304.6 kB / 6.746 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005689/20.4, allocations: 2.093 MB / 6.748 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/20.4, allocations: 155.2 kB / 6.749 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006541/20.4, allocations: 112 kB / 6.749 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005009/20.41, allocations: 2.846 MB / 6.751 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4785/20.89, allocations: 3.023 MB / 6.754 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.543e-05/20.89, allocations: 8.453 kB / 6.754 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003389/20.89, allocations: 4.031 kB / 6.754 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003777/20.89, allocations: 205.3 kB / 6.755 GB, free: 56.42 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.02565/20.91, allocations: 11.94 MB / 6.766 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003985/20.92, allocations: 2.164 MB / 6.768 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/20.92, allocations: 1.305 MB / 6.77 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01022/20.93, allocations: 5.875 MB / 6.775 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/20.93, allocations: 55.7 kB / 6.775 GB, free: 48.75 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001263/20.93, allocations: 128.1 kB / 6.776 GB, free: 48.71 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 6.432e-06/20.93, allocations: 3.594 kB / 6.776 GB, free: 48.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=198): time 0.02896/20.96, allocations: 8.569 MB / 6.784 GB, free: 47.88 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/20.96, allocations: 126.3 kB / 6.784 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/20.96, allocations: 1.202 MB / 6.785 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003867/20.96, allocations: 29.36 kB / 6.785 GB, free: 47.55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008325/20.96, allocations: 1.04 MB / 6.786 GB, free: 47.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000816/20.96, allocations: 0.6552 MB / 6.787 GB, free: 46.66 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/20.96, allocations: 0 / 6.787 GB, free: 46.66 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000186/20.96, allocations: 401.8 kB / 6.787 GB, free: 46.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/20.97, allocations: 1.157 MB / 6.788 GB, free: 46.35 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/20.97, allocations: 1.652 MB / 6.79 GB, free: 45.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00715/20.97, allocations: 2.362 MB / 6.792 GB, free: 45.78 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-05/20.97, allocations: 4.938 kB / 6.792 GB, free: 45.78 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01366/20.99, allocations: 4.615 MB / 6.797 GB, free: 45.53 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001346/20.99, allocations: 5.786 MB / 6.802 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.305e-05/20.99, allocations: 14.03 kB / 6.802 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/20.99, allocations: 0.9645 MB / 6.803 GB, free: 39.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/21, allocations: 469.2 kB / 6.804 GB, free: 39.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009502/21, allocations: 10.49 MB / 6.814 GB, free: 31.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003266/21.01, allocations: 152.8 kB / 6.814 GB, free: 31.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006983/21.01, allocations: 109.7 kB / 6.814 GB, free: 31.93 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/21.01, allocations: 7.422 kB / 6.814 GB, free: 31.93 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0111/21.02, allocations: 4.069 MB / 6.818 GB, free: 31.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.764e-05/21.02, allocations: 18.62 kB / 6.818 GB, free: 31.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/21.02, allocations: 0.81 MB / 6.819 GB, free: 31.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/21.02, allocations: 0.4891 MB / 6.82 GB, free: 31.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008518/21.03, allocations: 10.06 MB / 6.829 GB, free: 24.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003371/21.04, allocations: 143.8 kB / 6.83 GB, free: 24.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008296/21.04, allocations: 108.4 kB / 6.83 GB, free: 24.11 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.001483/21.04, allocations: 157.9 kB / 6.83 GB, free: 24 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01097/21.05, allocations: 3.446 MB / 6.833 GB, free: 23.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008921/21.05, allocations: 201.1 kB / 6.833 GB, free: 23.64 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009906/21.06, allocations: 4.078 MB / 6.837 GB, free: 23.42 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.179e-05/21.06, allocations: 28.25 kB / 6.837 GB, free: 23.42 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/21.06, allocations: 3.625 kB / 6.837 GB, free: 23.42 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007978/21.07, allocations: 3.543 MB / 6.841 GB, free: 22.96 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/21.08, allocations: 6.241 MB / 6.847 GB, free: 22.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/21.08, allocations: 0 / 6.847 GB, free: 22.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/21.09, allocations: 319.1 kB / 6.847 GB, free: 22.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002995/21.09, allocations: 1.017 MB / 6.848 GB, free: 22.45 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002384/21.09, allocations: 51.36 kB / 6.848 GB, free: 22.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008845/21.1, allocations: 10.34 MB / 6.858 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/21.1, allocations: 0 / 6.858 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/21.11, allocations: 5.294 MB / 6.864 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/21.11, allocations: 0.596 MB / 6.864 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007871/21.11, allocations: 16.31 kB / 6.864 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002194/21.11, allocations: 109.6 kB / 6.864 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004017/21.12, allocations: 168 kB / 6.864 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/21.12, allocations: 86.36 kB / 6.865 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001645/21.12, allocations: 0.8807 MB / 6.865 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/21.12, allocations: 2.844 kB / 6.865 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008435/21.13, allocations: 1.874 MB / 6.867 GB, free: 14.01 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,5 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01535/21.14, allocations: 7.093 MB / 6.874 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01067/21.15, allocations: 5.826 MB / 6.88 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/21.15, allocations: 0 / 6.88 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003738/21.16, allocations: 2.123 MB / 6.882 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005125/21.16, allocations: 0.8202 MB / 6.883 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/21.18, allocations: 5.486 MB / 6.888 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/21.18, allocations: 1.935 MB / 6.89 GB, free: 9.508 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005778/21.18, allocations: 1.289 MB / 6.891 GB, free: 9.418 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00186/21.19, allocations: 0.9664 MB / 6.892 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of SimCode: time 1.653e-06/21.19, allocations: 0 / 6.892 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.154/21.34, allocations: 79.78 MB / 6.97 GB, free: 0.6211 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/21.34, allocations: 162.3 kB / 6.97 GB, free: 440 kB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.507/26.85, allocations: 0 / 6.97 GB, free: 440 kB / 0.573 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)