Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005614/0.0005614, allocations: 17.16 kB / 0.6738 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.246, allocations: 116.3 MB / 0.7874 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003341/0.2494, allocations: 2.409 MB / 0.7898 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00373/0.2532, allocations: 2.742 MB / 0.7924 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2533, allocations: 4 kB / 0.7924 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.2535, allocations: 59.59 kB / 0.7925 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004476/0.2539, allocations: 187.1 kB / 0.7927 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009651/0.2549, allocations: 498.5 kB / 0.7932 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005197/0.2554, allocations: 497.7 kB / 0.7936 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.2556, allocations: 86.03 kB / 0.7937 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.2558, allocations: 163.4 kB / 0.7939 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.256, allocations: 195.2 kB / 0.7941 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.2561, allocations: 20 kB / 0.7941 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006146/0.2567, allocations: 351.7 kB / 0.7944 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.2568, allocations: 71.69 kB / 0.7945 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.2568, allocations: 93.52 kB / 0.7946 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005481/0.2574, allocations: 0.5221 MB / 0.7951 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2574, allocations: 0 / 0.7951 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2574, allocations: 3.938 kB / 0.7951 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.2574, allocations: 4 kB / 0.7951 GB, free: 3.973 MB / 0.6075 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.0009229/0.2584, allocations: 0.6738 MB / 0.7957 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2584, allocations: 8.031 kB / 0.7958 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.309e-05/0.2585, allocations: 62.53 kB / 0.7958 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07741/0.3359, allocations: 10.6 MB / 0.8062 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.3378, allocations: 0.9119 MB / 0.8071 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.3378, allocations: 24.5 kB / 0.8071 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003739/0.3382, allocations: 28 kB / 0.8071 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.3511, allocations: 3.555 MB / 0.8106 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3512, allocations: 0 / 0.8106 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002502/0.3515, allocations: 12 kB / 0.8106 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3515, allocations: 8 kB / 0.8106 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.3635, allocations: 2.801 MB / 0.8133 GB, free: 1.172 MB / 0.6231 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.01392/0.3775, allocations: 17.17 MB / 0.8301 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01183/0.3893, allocations: 2.766 MB / 0.8328 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01167/0.401, allocations: 2.62 MB / 0.8354 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.4011, allocations: 31.98 kB / 0.8354 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.4012, allocations: 30.56 kB / 0.8354 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.184e-06/0.4012, allocations: 4 kB / 0.8354 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.03631/0.4375, allocations: 8.035 MB / 0.8433 GB, free: 14.91 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.4376, allocations: 59.3 kB / 0.8433 GB, free: 14.84 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.438, allocations: 341.7 kB / 0.8436 GB, free: 14.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004638/0.4385, allocations: 37.7 kB / 0.8437 GB, free: 14.45 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.4387, allocations: 188.5 kB / 0.8439 GB, free: 14.27 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.439, allocations: 86.83 kB / 0.8439 GB, free: 14.18 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003384/0.4393, allocations: 4 kB / 0.8439 GB, free: 14.18 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4395, allocations: 342.8 kB / 0.8443 GB, free: 13.83 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01637/0.4558, allocations: 3.63 MB / 0.8478 GB, free: 10.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01621/0.4721, allocations: 3.68 MB / 0.8514 GB, free: 6.504 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01582/0.4879, allocations: 3.353 MB / 0.8547 GB, free: 3.148 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.488, allocations: 0 / 0.8547 GB, free: 3.148 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03608/0.5241, allocations: 7.526 MB / 0.862 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.5242, allocations: 97.06 kB / 0.8621 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03235/0.5566, allocations: 6.835 MB / 0.8688 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/0.5567, allocations: 0 / 0.8688 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01293/0.5696, allocations: 1.693 MB / 0.8705 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.5697, allocations: 4 kB / 0.8705 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01153/0.5812, allocations: 1.28 MB / 0.8717 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009656/0.5822, allocations: 207.5 kB / 0.8719 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.5823, allocations: 4 kB / 0.8719 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03582/0.6181, allocations: 7.47 MB / 0.8792 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03243/0.6506, allocations: 6.838 MB / 0.8859 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.6506, allocations: 0 / 0.8859 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01283/0.6635, allocations: 1.701 MB / 0.8875 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.6635, allocations: 0 / 0.8875 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0115/0.675, allocations: 1.284 MB / 0.8888 GB, free: 172 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/0.6762, allocations: 211.5 kB / 0.889 GB, free: 15.96 MB / 0.7169 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.001431/0.6777, allocations: 221.6 kB / 0.8892 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004651/0.6782, allocations: 35.53 kB / 0.8892 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02878/0.7069, allocations: 6.35 MB / 0.8954 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.707, allocations: 4 kB / 0.8955 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.707, allocations: 0 / 0.8955 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.707, allocations: 7.984 kB / 0.8955 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005707/0.7127, allocations: 6.484 MB / 0.9018 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02467/0.7374, allocations: 5.278 MB / 0.9069 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0104/0.7479, allocations: 1.455 MB / 0.9084 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/0.7479, allocations: 4 kB / 0.9084 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004146/0.7484, allocations: 171.5 kB / 0.9085 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.7484, allocations: 0 / 0.9085 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7484, allocations: 0 / 0.9085 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02486/0.7732, allocations: 5.444 MB / 0.9139 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.7745, allocations: 0.5583 MB / 0.9144 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005218/0.775, allocations: 11.94 kB / 0.9144 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009388/0.7844, allocations: 1.085 MB / 0.9155 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.7846, allocations: 39.91 kB / 0.9155 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005052/0.7851, allocations: 175.5 kB / 0.9157 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003073/0.7854, allocations: 235.2 kB / 0.9159 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7854, allocations: 0 / 0.9159 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002651/0.7881, allocations: 0.5895 MB / 0.9165 GB, free: 2.258 MB / 0.7325 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.4875/1.276, allocations: 6.038 MB / 0.9224 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.04487/1.32, allocations: 9.657 MB / 0.9318 GB, free: 134.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.321, allocations: 0 / 0.9318 GB, free: 134.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01397/1.335, allocations: 2.735 MB / 0.9345 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/1.336, allocations: 81.77 kB / 0.9345 GB, free: 134 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06307/1.399, allocations: 15.64 MB / 0.9498 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/1.399, allocations: 0.7908 MB / 0.9506 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0108/1.41, allocations: 1.639 MB / 0.9522 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00262/1.412, allocations: 0.5948 MB / 0.9528 GB, free: 126 MB / 0.7325 GB Notification: Performance of SimCode: time 2.715e-06/1.412, allocations: 4 kB / 0.9528 GB, free: 126 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/1.518, allocations: 82.72 MB / 1.034 GB, free: 44.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/1.518, allocations: 209.2 kB / 1.034 GB, free: 44.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.455/10.97, allocations: 3.375 kB / 1.034 GB, free: 44.57 MB / 0.7325 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) Environment - environmentSimulation: