Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.GasConvection,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",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.484/1.484, 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.001617/0.001617, allocations: 180.9 kB / 326.5 MB, free: 2.23 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.1/2.1, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001028/0.001028, allocations: 98.33 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003874, allocations: 10.06 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2884, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.00319/0.2916, allocations: 2.273 MB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003901/0.2955, allocations: 2.637 MB / 0.9049 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/0.2959, allocations: 8 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.2961, allocations: 59.59 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004968/0.2967, allocations: 207.4 kB / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.2981, allocations: 0.4988 MB / 0.9057 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004883/0.2986, allocations: 375.2 kB / 0.9061 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.2988, allocations: 84.06 kB / 0.9061 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.2989, allocations: 175.4 kB / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.2991, allocations: 187.2 kB / 0.9065 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.2992, allocations: 24 kB / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006907/0.2999, allocations: 363.7 kB / 0.9068 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.2999, allocations: 71.69 kB / 0.9069 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.908e-05/0.3, allocations: 97.45 kB / 0.907 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.3005, allocations: 0.5107 MB / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3006, allocations: 0 / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3006, allocations: 0 / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.3006, allocations: 0 / 0.9075 GB, free: 56.27 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009095/0.3015, allocations: 0.6816 MB / 0.9082 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.3015, allocations: 8.031 kB / 0.9082 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.045e-05/0.3016, allocations: 66.47 kB / 0.9082 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08743/0.389, allocations: 10.59 MB / 0.9186 GB, free: 44.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/0.3914, allocations: 0.9235 MB / 0.9195 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.3915, allocations: 16.56 kB / 0.9195 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004693/0.392, allocations: 31.98 kB / 0.9195 GB, free: 43.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01453/0.4065, allocations: 3.555 MB / 0.923 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.4066, allocations: 0 / 0.923 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/0.4069, allocations: 12 kB / 0.923 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.4069, allocations: 8 kB / 0.923 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/0.4201, allocations: 2.793 MB / 0.9258 GB, free: 37.45 MB / 0.6042 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.01386/0.4341, allocations: 17.16 MB / 0.9425 GB, free: 16.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/0.447, allocations: 2.764 MB / 0.9452 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.4472, allocations: 39.91 kB / 0.9453 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.4473, allocations: 34.5 kB / 0.9453 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 5.34e-06/0.4473, allocations: 0 / 0.9453 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.04206/0.4894, allocations: 8.266 MB / 0.9534 GB, free: 5.535 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.4895, allocations: 51.41 kB / 0.9534 GB, free: 5.473 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/0.4899, allocations: 345.7 kB / 0.9537 GB, free: 5.129 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0009647/0.4909, allocations: 29.7 kB / 0.9538 GB, free: 5.094 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.4913, allocations: 196.4 kB / 0.954 GB, free: 4.895 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006973/0.492, allocations: 82.84 kB / 0.954 GB, free: 4.812 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007011/0.4927, allocations: 8 kB / 0.954 GB, free: 4.805 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4928, allocations: 342.8 kB / 0.9544 GB, free: 4.461 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01868/0.5115, allocations: 3.63 MB / 0.9579 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01957/0.5312, allocations: 3.681 MB / 0.9615 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0192/0.5504, allocations: 3.353 MB / 0.9648 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.5505, allocations: 3.938 kB / 0.9648 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04188/0.5924, allocations: 7.519 MB / 0.9721 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.717e-05/0.5925, allocations: 96.95 kB / 0.9722 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0371/0.6296, allocations: 6.834 MB / 0.9789 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.415e-05/0.6297, allocations: 0 / 0.9789 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01475/0.6445, allocations: 1.701 MB / 0.9806 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.323e-05/0.6446, allocations: 0 / 0.9806 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01337/0.658, allocations: 1.287 MB / 0.9818 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/0.6591, allocations: 203.5 kB / 0.982 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.6592, allocations: 4 kB / 0.982 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.041/0.7002, allocations: 7.466 MB / 0.9893 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03621/0.7364, allocations: 6.827 MB / 0.996 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.7365, allocations: 4 kB / 0.996 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01443/0.7509, allocations: 1.697 MB / 0.9976 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.436e-05/0.751, allocations: 4 kB / 0.9976 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01361/0.7646, allocations: 1.276 MB / 0.9989 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/0.7659, allocations: 211.5 kB / 0.9991 GB, free: 6.605 MB / 0.6511 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 (37): * Single equations (assignments): 37 * 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 0.001587/0.7676, allocations: 225 kB / 0.9993 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006504/0.7682, allocations: 31.62 kB / 0.9993 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03274/0.801, allocations: 6.354 MB / 1.006 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.8011, allocations: 4 kB / 1.006 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.8011, allocations: 0 / 1.006 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.8011, allocations: 0 / 1.006 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006634/0.8077, allocations: 6.491 MB / 1.012 GB, free: 7.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03134/0.8391, allocations: 5.293 MB / 1.017 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01245/0.8516, allocations: 1.451 MB / 1.018 GB, free: 1.227 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.087e-05/0.8518, allocations: 4 kB / 1.018 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000783/0.8525, allocations: 167.6 kB / 1.019 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.8526, allocations: 7.984 kB / 1.019 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.8526, allocations: 0 / 1.019 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02845/0.881, allocations: 5.435 MB / 1.024 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001788/0.8829, allocations: 0.5623 MB / 1.024 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007931/0.8837, allocations: 7.984 kB / 1.024 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01114/0.8949, allocations: 1.077 MB / 1.026 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.8951, allocations: 39.92 kB / 1.026 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007857/0.8959, allocations: 175.5 kB / 1.026 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003401/0.8963, allocations: 235.2 kB / 1.026 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8963, allocations: 0 / 1.026 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003458/0.8998, allocations: 0.5934 MB / 1.027 GB, free: 8.891 MB / 0.6823 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 (34): * Single equations (assignments): 34 * 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.03075/0.9305, allocations: 6.043 MB / 1.032 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.05187/0.9824, allocations: 9.667 MB / 1.042 GB, free: 9.141 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/0.9826, allocations: 0 / 1.042 GB, free: 9.141 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01465/0.9972, allocations: 2.736 MB / 1.045 GB, free: 6.402 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.9984, allocations: 69.47 kB / 1.045 GB, free: 6.336 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/1.015, allocations: 3.486 MB / 1.048 GB, free: 2.797 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/1.015, allocations: 0.804 MB / 1.049 GB, free: 1.965 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0121/1.028, allocations: 1.646 MB / 1.05 GB, free: 324 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5031/1.531, allocations: 0.5891 MB / 1.051 GB, free: 151.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.653e-06/1.531, allocations: 0 / 1.051 GB, free: 151.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1398/1.671, allocations: 82.55 MB / 1.132 GB, free: 87.72 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/1.671, allocations: 208.2 kB / 1.132 GB, free: 87.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.509/11.18, allocations: 0 / 1.132 GB, free: 87.48 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)