Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 288.2 MB / 303.2 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001488/0.001488, allocations: 189 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008485/0.0008487, allocations: 99.5 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004759, allocations: 16.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2706, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002614/0.2733, allocations: 2.261 MB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00326/0.2765, allocations: 2.629 MB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.2767, allocations: 4 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.2769, allocations: 59.59 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004558/0.2774, allocations: 213.2 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2787, allocations: 0.492 MB / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000495/0.2792, allocations: 375.2 kB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.2794, allocations: 82.03 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.2796, allocations: 179.4 kB / 0.9856 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.2798, allocations: 187.2 kB / 0.9858 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.2799, allocations: 20 kB / 0.9858 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006091/0.2805, allocations: 367.7 kB / 0.9862 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.2805, allocations: 67.73 kB / 0.9862 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.781e-05/0.2806, allocations: 97.45 kB / 0.9863 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.2812, allocations: 0.5146 MB / 0.9868 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2812, allocations: 0 / 0.9868 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.494e-06/0.2812, allocations: 0 / 0.9868 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.2812, allocations: 0 / 0.9868 GB, free: 20.04 MB / 0.6198 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.00102/0.2822, allocations: 0.6854 MB / 0.9875 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.2823, allocations: 16.02 kB / 0.9875 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.011e-05/0.2824, allocations: 58.55 kB / 0.9876 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08808/0.3704, allocations: 10.6 MB / 0.9979 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.3731, allocations: 0.9158 MB / 0.9988 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.3732, allocations: 20.5 kB / 0.9988 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004837/0.3737, allocations: 28 kB / 0.9988 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.3871, allocations: 3.551 MB / 1.002 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.3872, allocations: 0 / 1.002 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002773/0.3875, allocations: 15.98 kB / 1.002 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.3875, allocations: 4 kB / 1.002 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.3999, allocations: 2.808 MB / 1.005 GB, free: 1.215 MB / 0.6198 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.01617/0.4161, allocations: 17.16 MB / 1.022 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/0.4295, allocations: 2.766 MB / 1.025 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.4297, allocations: 31.98 kB / 1.025 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.4298, allocations: 42.44 kB / 1.025 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 4.248e-06/0.4298, allocations: 0 / 1.025 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.04256/0.4723, allocations: 8.268 MB / 1.033 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.4724, allocations: 55.36 kB / 1.033 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005009/0.473, allocations: 337.6 kB / 1.033 GB, free: 0.8867 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0008098/0.4738, allocations: 29.7 kB / 1.033 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.4742, allocations: 200.6 kB / 1.033 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000564/0.4747, allocations: 74.89 kB / 1.033 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005619/0.4753, allocations: 8 kB / 1.033 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.4755, allocations: 346.8 kB / 1.034 GB, free: 228 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01938/0.4949, allocations: 3.626 MB / 1.037 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01951/0.5145, allocations: 3.681 MB / 1.041 GB, free: 8.895 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01917/0.5337, allocations: 3.353 MB / 1.044 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.5337, allocations: 0 / 1.044 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04138/0.5751, allocations: 7.528 MB / 1.051 GB, free: 14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.044e-05/0.5753, allocations: 92.98 kB / 1.052 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03749/0.6128, allocations: 6.834 MB / 1.058 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/0.6129, allocations: 7.953 kB / 1.058 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01445/0.6273, allocations: 1.693 MB / 1.06 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/0.6274, allocations: 3.984 kB / 1.06 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01315/0.6405, allocations: 1.287 MB / 1.061 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/0.6419, allocations: 203.5 kB / 1.061 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.6419, allocations: 4 kB / 1.061 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6358/1.278, allocations: 7.463 MB / 1.069 GB, free: 90.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03938/1.317, allocations: 6.836 MB / 1.075 GB, free: 88.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.317, allocations: 2.828 kB / 1.075 GB, free: 88.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01525/1.332, allocations: 1.697 MB / 1.077 GB, free: 88.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/1.333, allocations: 1.562 kB / 1.077 GB, free: 88.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01371/1.346, allocations: 1.281 MB / 1.078 GB, free: 88.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/1.347, allocations: 208.2 kB / 1.078 GB, free: 88.82 MB / 0.6823 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.001324/1.349, allocations: 221.6 kB / 1.079 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005524/1.349, allocations: 36.16 kB / 1.079 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0327/1.382, allocations: 6.352 MB / 1.085 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/1.382, allocations: 4.281 kB / 1.085 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.382, allocations: 0 / 1.085 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/1.382, allocations: 1.359 kB / 1.085 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006033/1.388, allocations: 6.484 MB / 1.091 GB, free: 80.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0277/1.416, allocations: 5.293 MB / 1.096 GB, free: 78.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01155/1.428, allocations: 1.446 MB / 1.098 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/1.428, allocations: 3.875 kB / 1.098 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005804/1.428, allocations: 175.4 kB / 1.098 GB, free: 77.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/1.428, allocations: 3.906 kB / 1.098 GB, free: 77.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.428, allocations: 4 kB / 1.098 GB, free: 77.35 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02776/1.456, allocations: 5.42 MB / 1.103 GB, free: 74.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.458, allocations: 0.5692 MB / 1.104 GB, free: 74.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007896/1.458, allocations: 5.469 kB / 1.104 GB, free: 74.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01104/1.47, allocations: 1.079 MB / 1.105 GB, free: 74.01 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/1.47, allocations: 46.58 kB / 1.105 GB, free: 73.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007651/1.471, allocations: 176.8 kB / 1.105 GB, free: 73.86 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003541/1.471, allocations: 231.8 kB / 1.105 GB, free: 73.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/1.471, allocations: 1.062 kB / 1.105 GB, free: 73.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00397/1.475, allocations: 0.5931 MB / 1.106 GB, free: 73.68 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.02979/1.505, allocations: 6.05 MB / 1.112 GB, free: 70.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.04765/1.552, allocations: 9.66 MB / 1.121 GB, free: 61.17 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.553, allocations: 4 kB / 1.121 GB, free: 61.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01405/1.567, allocations: 2.728 MB / 1.124 GB, free: 58.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/1.568, allocations: 82.81 kB / 1.124 GB, free: 58.35 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/1.584, allocations: 3.49 MB / 1.127 GB, free: 54.83 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/1.584, allocations: 0.804 MB / 1.128 GB, free: 54 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.01212/1.597, allocations: 1.638 MB / 1.13 GB, free: 52.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002995/1.6, allocations: 0.5919 MB / 1.13 GB, free: 51.77 MB / 0.6823 GB Notification: Performance of SimCode: time 2.695e-06/1.6, allocations: 0 / 1.13 GB, free: 51.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1209/1.721, allocations: 82.56 MB / 1.211 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/1.721, allocations: 208.9 kB / 1.211 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.538/11.26, allocations: 0 / 1.211 GB, free: 0.8711 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)