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.414/1.414, allocations: 288.4 MB / 303.6 MB, free: 8.227 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.0009557/0.0009557, allocations: 182.2 kB / 372.3 MB, free: 10.09 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.104/1.104, allocations: 205.4 MB / 0.631 GB, free: 9.832 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.0006475/0.0006475, allocations: 86.94 kB / 0.7444 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003192, allocations: 12.06 kB / 0.8676 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 115.3 MB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.001889/0.1417, allocations: 2.413 MB / 0.9825 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002574/0.1443, allocations: 2.739 MB / 0.9852 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.1445, allocations: 4 kB / 0.9852 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.1447, allocations: 59.59 kB / 0.9853 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.1451, allocations: 195.1 kB / 0.9855 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000947/0.1461, allocations: 492.7 kB / 0.9859 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.1465, allocations: 497.8 kB / 0.9864 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1466, allocations: 90.59 kB / 0.9865 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.1468, allocations: 163.4 kB / 0.9867 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.147, allocations: 191.2 kB / 0.9868 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.147, allocations: 20 kB / 0.9869 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005485/0.1476, allocations: 363.6 kB / 0.9872 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.1476, allocations: 63.75 kB / 0.9873 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1478, allocations: 216.7 kB / 0.9875 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.1482, allocations: 0.5221 MB / 0.988 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1482, allocations: 0 / 0.988 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1482, allocations: 3.938 kB / 0.988 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.427e-06/0.1482, allocations: 0 / 0.988 GB, free: 19.17 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.0007397/0.149, allocations: 0.6701 MB / 0.9886 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.149, allocations: 12.03 kB / 0.9887 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.1491, allocations: 58.73 kB / 0.9887 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07959/0.2287, allocations: 10.6 MB / 0.9991 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.2302, allocations: 0.9247 MB / 1 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.2302, allocations: 20.94 kB / 1 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005313/0.2308, allocations: 24.38 kB / 1 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.2437, allocations: 3.566 MB / 1.003 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2437, allocations: 3.984 kB / 1.003 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002665/0.244, allocations: 8 kB / 1.003 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.244, allocations: 11.94 kB / 1.004 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.2556, allocations: 2.801 MB / 1.006 GB, free: 364 kB / 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.01147/0.2671, allocations: 17.17 MB / 1.023 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.2794, allocations: 2.758 MB / 1.026 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01182/0.2913, allocations: 2.62 MB / 1.028 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-05/0.2914, allocations: 31.98 kB / 1.028 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.2914, allocations: 42.48 kB / 1.028 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 2.214e-06/0.2914, allocations: 0 / 1.028 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.03649/0.3279, allocations: 8.032 MB / 1.036 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.328, allocations: 55.41 kB / 1.036 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.3283, allocations: 341.8 kB / 1.037 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003536/0.3287, allocations: 25.7 kB / 1.037 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.3289, allocations: 204.4 kB / 1.037 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.3291, allocations: 74.86 kB / 1.037 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.3294, allocations: 8 kB / 1.037 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.3295, allocations: 342.8 kB / 1.037 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01651/0.3461, allocations: 3.634 MB / 1.041 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01645/0.3625, allocations: 3.681 MB / 1.044 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02751/0.39, allocations: 5.794 MB / 1.05 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3901, allocations: 3.938 kB / 1.05 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03333/0.4234, allocations: 7.524 MB / 1.057 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/0.4235, allocations: 97 kB / 1.057 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03002/0.4535, allocations: 6.83 MB / 1.064 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4535, allocations: 0 / 1.064 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2884/0.7419, allocations: 1.695 MB / 1.066 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.742, allocations: 2.062 kB / 1.066 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01204/0.754, allocations: 1.285 MB / 1.067 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006127/0.7547, allocations: 205.9 kB / 1.067 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.7547, allocations: 7.562 kB / 1.067 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03571/0.7904, allocations: 7.463 MB / 1.075 GB, free: 89.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03071/0.8211, allocations: 6.834 MB / 1.081 GB, free: 88.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.8211, allocations: 2.594 kB / 1.081 GB, free: 88.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01207/0.8332, allocations: 1.688 MB / 1.083 GB, free: 87.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.8332, allocations: 9.469 kB / 1.083 GB, free: 87.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01131/0.8446, allocations: 1.277 MB / 1.084 GB, free: 87.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005003/0.8451, allocations: 205 kB / 1.084 GB, free: 87.89 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.0008667/0.8459, allocations: 229.5 kB / 1.085 GB, free: 87.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.8462, allocations: 39.86 kB / 1.085 GB, free: 87.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02759/0.8738, allocations: 6.35 MB / 1.091 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.8739, allocations: 3.281 kB / 1.091 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.8739, allocations: 5.047 kB / 1.091 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.8739, allocations: 0 / 1.091 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/0.8769, allocations: 6.475 MB / 1.097 GB, free: 78.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02417/0.9011, allocations: 5.293 MB / 1.102 GB, free: 75.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01014/0.9113, allocations: 1.446 MB / 1.104 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.9113, allocations: 1.562 kB / 1.104 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003059/0.9116, allocations: 173 kB / 1.104 GB, free: 74.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.9116, allocations: 8.938 kB / 1.104 GB, free: 74.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9116, allocations: 4.812 kB / 1.104 GB, free: 74.96 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02405/0.9357, allocations: 5.434 MB / 1.109 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007724/0.9365, allocations: 0.5614 MB / 1.11 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003382/0.9368, allocations: 6.75 kB / 1.11 GB, free: 71.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009262/0.9461, allocations: 1.081 MB / 1.111 GB, free: 71.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.9462, allocations: 38.25 kB / 1.111 GB, free: 71.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003441/0.9465, allocations: 180 kB / 1.111 GB, free: 71.47 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001932/0.9467, allocations: 242.4 kB / 1.111 GB, free: 71.31 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9467, allocations: 0 / 1.111 GB, free: 71.31 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002565/0.9493, allocations: 0.594 MB / 1.112 GB, free: 71.28 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.02397/0.9733, allocations: 6.031 MB / 1.118 GB, free: 65.24 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.04187/1.015, allocations: 9.665 MB / 1.127 GB, free: 55.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.015, allocations: 0 / 1.127 GB, free: 55.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01169/1.027, allocations: 2.732 MB / 1.13 GB, free: 52.83 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000851/1.028, allocations: 84.02 kB / 1.13 GB, free: 52.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05819/1.086, allocations: 15.63 MB / 1.145 GB, free: 37.08 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/1.086, allocations: 0.7962 MB / 1.146 GB, free: 36.26 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.009244/1.095, allocations: 1.645 MB / 1.147 GB, free: 34.61 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00248/1.098, allocations: 0.5919 MB / 1.148 GB, free: 34.02 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/1.098, allocations: 0 / 1.148 GB, free: 34.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9596/2.058, allocations: 82.82 MB / 1.229 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/2.058, allocations: 209.4 kB / 1.229 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/9.683, allocations: 4.062 kB / 1.229 GB, free: 14.86 MB / 0.7448 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)