Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.502/1.502, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 178.6 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009384/0.0009384, allocations: 98.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003472, allocations: 13.28 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2767, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002039/0.2788, allocations: 1.496 MB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2799, allocations: 0.714 MB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.28, allocations: 4 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.28, allocations: 3.938 kB / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.2803, allocations: 51.83 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.2805, allocations: 55.86 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.2807, allocations: 99.73 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2808, allocations: 33.38 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.958e-05/0.2809, allocations: 39.86 kB / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.281, allocations: 43.83 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.2811, allocations: 4 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.08e-05/0.2811, allocations: 8 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.2811, allocations: 15.92 kB / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.2812, allocations: 49.64 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.2813, allocations: 80 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2813, allocations: 0 / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2813, allocations: 4 kB / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2813, allocations: 0 / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005037/0.2818, allocations: 395 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.2819, allocations: 8.031 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.2819, allocations: 46.55 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.282, allocations: 15.77 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.2821, allocations: 189.2 kB / 0.9034 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.2822, allocations: 8 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.2822, allocations: 4 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.2824, allocations: 101.5 kB / 0.9035 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2824, allocations: 0 / 0.9035 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.2825, allocations: 0 / 0.9035 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.2825, allocations: 7.984 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.2827, allocations: 79.89 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.2832, allocations: 376.4 kB / 0.904 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.2834, allocations: 58.48 kB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.2834, allocations: 4.062 kB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.2834, allocations: 34.56 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.2835, allocations: 0 / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003585/0.2838, allocations: 113.7 kB / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.2839, allocations: 51.41 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.284, allocations: 155.8 kB / 0.9044 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.284, allocations: 29.7 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.284, allocations: 107.9 kB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/0.2841, allocations: 15.84 kB / 0.9045 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.2841, allocations: 0 / 0.9045 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.2841, allocations: 322.8 kB / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/0.2842, allocations: 19.98 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.503e-05/0.2843, allocations: 31.97 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.187e-05/0.2844, allocations: 23.98 kB / 0.9049 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2844, allocations: 0 / 0.9049 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001939/0.2846, allocations: 101.6 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.2846, allocations: 95.81 kB / 0.9051 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2846, allocations: 7.875 kB / 0.9051 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2847, allocations: 0 / 0.9051 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.518e-05/0.2847, allocations: 15.98 kB / 0.9051 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2848, allocations: 4 kB / 0.9051 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.2848, allocations: 15.89 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2848, allocations: 0 / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.565e-06/0.2849, allocations: 7.953 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001631/0.285, allocations: 59.95 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.92e-07/0.285, allocations: 0 / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-06/0.285, allocations: 0 / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.2851, allocations: 15.98 kB / 0.9052 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-06/0.2851, allocations: 0 / 0.9052 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.2852, allocations: 8 kB / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-06/0.2852, allocations: 0 / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.175e-05/0.2853, allocations: 205 kB / 0.9054 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.2853, allocations: 12.23 kB / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.2855, allocations: 97.81 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2856, allocations: 0 / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2856, allocations: 0 / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2856, allocations: 4 kB / 0.9055 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.2857, allocations: 181.6 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2857, allocations: 3.984 kB / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.2858, allocations: 19.94 kB / 0.9057 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2858, allocations: 0 / 0.9057 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.2858, allocations: 3.953 kB / 0.9057 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2858, allocations: 0 / 0.9057 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2858, allocations: 0 / 0.9057 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.2861, allocations: 191.3 kB / 0.9059 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.2861, allocations: 88.92 kB / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.2861, allocations: 0 / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.042e-05/0.2862, allocations: 19.94 kB / 0.906 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.2863, allocations: 4 kB / 0.906 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2863, allocations: 3.984 kB / 0.906 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.865e-05/0.2863, allocations: 115.3 kB / 0.9061 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2863, allocations: 0 / 0.9061 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002891/0.2866, allocations: 28 kB / 0.9061 GB, free: 57.37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000481/0.2871, allocations: 0.7395 MB / 0.9069 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.2874, allocations: 87.92 kB / 0.9069 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2875, allocations: 0 / 0.9069 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/0.2875, allocations: 27.92 kB / 0.907 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.2878, allocations: 27.94 kB / 0.907 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009999/0.2888, allocations: 0.6581 MB / 0.9076 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.289, allocations: 0.6965 MB / 0.9083 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.289e-05/0.2891, allocations: 4.438 kB / 0.9083 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/0.2891, allocations: 34.42 kB / 0.9084 GB, free: 55 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2891, allocations: 0 / 0.9084 GB, free: 55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.3024, allocations: 2.331 MB / 0.9106 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/0.3027, allocations: 224.1 kB / 0.9108 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/1.863, allocations: 2.188 kB / 0.9108 GB, free: 52.61 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1)