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.347/1.347, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.001023/0.001023, allocations: 178.7 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205 MB / 0.576 GB, free: 20.97 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.00078/0.00078, allocations: 78.42 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003133, allocations: 11.47 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1856, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002311/0.188, allocations: 2.564 MB / 0.8987 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.1908, allocations: 3.003 MB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.912e-05/0.191, allocations: 4 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.1912, allocations: 63.58 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.1916, allocations: 186.8 kB / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008466/0.1924, allocations: 0.5219 MB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.1928, allocations: 0.5018 MB / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.193, allocations: 86.61 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.1931, allocations: 175.3 kB / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.1933, allocations: 199.1 kB / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.1933, allocations: 20 kB / 0.9033 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005087/0.1938, allocations: 363.7 kB / 0.9037 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.1939, allocations: 75.67 kB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.194, allocations: 194.9 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005814/0.1946, allocations: 0.6892 MB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1946, allocations: 0 / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1946, allocations: 0 / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.1946, allocations: 0 / 0.9046 GB, free: 59.41 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.0007691/0.1954, allocations: 0.6857 MB / 0.9053 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1955, allocations: 8.031 kB / 0.9053 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.1955, allocations: 54.73 kB / 0.9054 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08848/0.284, allocations: 10.59 MB / 0.9157 GB, free: 48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/0.2856, allocations: 0.9285 MB / 0.9166 GB, free: 47.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.2857, allocations: 16.94 kB / 0.9166 GB, free: 47.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003784/0.2861, allocations: 28.38 kB / 0.9166 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/0.3003, allocations: 3.562 MB / 0.9201 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3003, allocations: 0 / 0.9201 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002444/0.3006, allocations: 12 kB / 0.9201 GB, free: 43.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.3006, allocations: 8 kB / 0.9201 GB, free: 43.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.3135, allocations: 2.805 MB / 0.9229 GB, free: 40.59 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.01036/0.3239, allocations: 17.16 MB / 0.9396 GB, free: 19.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/0.3371, allocations: 2.768 MB / 0.9424 GB, free: 17.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01294/0.3501, allocations: 2.62 MB / 0.9449 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.885e-05/0.3502, allocations: 35.92 kB / 0.9449 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.3502, allocations: 34.56 kB / 0.945 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.346e-06/0.3502, allocations: 4 kB / 0.945 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.04052/0.3907, allocations: 8.033 MB / 0.9528 GB, free: 6.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3908, allocations: 55.34 kB / 0.9529 GB, free: 6.254 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.3912, allocations: 341.6 kB / 0.9532 GB, free: 5.914 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0004638/0.3916, allocations: 29.7 kB / 0.9532 GB, free: 5.879 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.3918, allocations: 204.5 kB / 0.9534 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/0.3921, allocations: 70.86 kB / 0.9535 GB, free: 5.602 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/0.3925, allocations: 37.7 kB / 0.9535 GB, free: 5.559 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.072e-05/0.3926, allocations: 342.8 kB / 0.9539 GB, free: 5.215 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01795/0.4105, allocations: 3.642 MB / 0.9574 GB, free: 1.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0189/0.4295, allocations: 3.688 MB / 0.961 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03319/0.4627, allocations: 5.782 MB / 0.9667 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.4628, allocations: 3.938 kB / 0.9667 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0405/0.5033, allocations: 7.542 MB / 0.974 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.984e-05/0.5034, allocations: 92.98 kB / 0.9741 GB, free: 428 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0361/0.5395, allocations: 6.85 MB / 0.9808 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.5396, allocations: 0 / 0.9808 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01387/0.5534, allocations: 1.697 MB / 0.9825 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.5535, allocations: 0 / 0.9825 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01259/0.5661, allocations: 1.291 MB / 0.9837 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000661/0.5668, allocations: 207.5 kB / 0.9839 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5668, allocations: 7.938 kB / 0.9839 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03962/0.6064, allocations: 7.47 MB / 0.9912 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03537/0.6418, allocations: 6.827 MB / 0.9979 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.6419, allocations: 4 kB / 0.9979 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01434/0.6562, allocations: 1.697 MB / 0.9996 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.6563, allocations: 4 kB / 0.9996 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01311/0.6694, allocations: 1.276 MB / 1.001 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007042/0.6701, allocations: 207.5 kB / 1.001 GB, free: 4.855 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007471/0.6709, allocations: 217.1 kB / 1.001 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/0.6713, allocations: 39.47 kB / 1.001 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03079/0.7021, allocations: 6.347 MB / 1.007 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.7022, allocations: 4 kB / 1.007 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.7022, allocations: 0 / 1.007 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.7022, allocations: 7.922 kB / 1.007 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004786/0.707, allocations: 6.495 MB / 1.014 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02692/0.7339, allocations: 5.297 MB / 1.019 GB, free: 0.9258 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01111/0.7451, allocations: 1.447 MB / 1.02 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.7451, allocations: 4 kB / 1.02 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003236/0.7454, allocations: 179.5 kB / 1.021 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.7455, allocations: 3.938 kB / 1.021 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.7455, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0265/0.772, allocations: 5.424 MB / 1.026 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009563/0.773, allocations: 0.5622 MB / 1.026 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003989/0.7734, allocations: 8 kB / 1.026 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01053/0.7839, allocations: 1.077 MB / 1.027 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.7841, allocations: 39.91 kB / 1.028 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003959/0.7845, allocations: 183.5 kB / 1.028 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000237/0.7847, allocations: 231.2 kB / 1.028 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7847, allocations: 7.938 kB / 1.028 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002248/0.787, allocations: 0.5895 MB / 1.028 GB, free: 7.137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02815/0.8151, allocations: 6.049 MB / 1.034 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.04971/0.8649, allocations: 9.676 MB / 1.044 GB, free: 7.371 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.8649, allocations: 0 / 1.044 GB, free: 7.371 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0141/0.879, allocations: 2.739 MB / 1.047 GB, free: 4.629 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.8801, allocations: 78.02 kB / 1.047 GB, free: 4.551 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.417/1.297, allocations: 23.42 MB / 1.069 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/1.297, allocations: 0.7944 MB / 1.07 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.01036/1.308, allocations: 1.636 MB / 1.072 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002474/1.31, allocations: 0.5931 MB / 1.072 GB, free: 152.4 MB / 0.698 GB Notification: Performance of SimCode: time 8.62e-07/1.31, allocations: 0 / 1.072 GB, free: 152.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5177/1.828, allocations: 83.53 MB / 1.154 GB, free: 72.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/1.828, allocations: 238.7 kB / 1.154 GB, free: 71.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.552/9.381, allocations: 0 / 1.154 GB, free: 71.94 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)