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.705/1.705, allocations: 288.4 MB / 303.3 MB, free: 8.113 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.0009881/0.0009881, allocations: 178.9 kB / 372 MB, free: 10.3 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.534/1.534, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0007919/0.0007919, allocations: 96.97 kB / 0.744 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 15.47 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2319, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002595/0.2346, allocations: 2.401 MB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003236/0.2378, allocations: 2.753 MB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.238, allocations: 4 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.2382, allocations: 51.61 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.2386, allocations: 187.1 kB / 0.9849 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000993/0.2396, allocations: 0.4889 MB / 0.9854 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.2401, allocations: 489.8 kB / 0.9859 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.2403, allocations: 78.05 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.2404, allocations: 171.4 kB / 0.9861 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.2406, allocations: 191.2 kB / 0.9863 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.2406, allocations: 20 kB / 0.9863 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000559/0.2412, allocations: 355.7 kB / 0.9866 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.2413, allocations: 75.67 kB / 0.9867 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.2414, allocations: 93.52 kB / 0.9868 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.2419, allocations: 0.5181 MB / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.2419, allocations: 4 kB / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.396e-06/0.2419, allocations: 0 / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.971e-05/0.242, allocations: 0 / 0.9873 GB, free: 19.7 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.0009374/0.2429, allocations: 0.6777 MB / 0.988 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.243, allocations: 12.02 kB / 0.988 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.988e-05/0.243, allocations: 58.55 kB / 0.988 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08634/0.3294, allocations: 10.59 MB / 0.9984 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.3314, allocations: 0.9236 MB / 0.9993 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.3314, allocations: 20.56 kB / 0.9993 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004185/0.3318, allocations: 24 kB / 0.9993 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/0.3459, allocations: 3.558 MB / 1.003 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3459, allocations: 3.984 kB / 1.003 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002809/0.3462, allocations: 12 kB / 1.003 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.3462, allocations: 7.938 kB / 1.003 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01351/0.3598, allocations: 2.801 MB / 1.006 GB, free: 0.8867 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.0149/0.3747, allocations: 17.16 MB / 1.022 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01419/0.3889, allocations: 2.77 MB / 1.025 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01393/0.4029, allocations: 2.62 MB / 1.028 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.4031, allocations: 31.98 kB / 1.028 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.4031, allocations: 34.55 kB / 1.028 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 5.48e-06/0.4031, allocations: 4 kB / 1.028 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.04288/0.446, allocations: 8.034 MB / 1.035 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.4461, allocations: 59.36 kB / 1.036 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.4466, allocations: 341.7 kB / 1.036 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0006251/0.4472, allocations: 29.7 kB / 1.036 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.4476, allocations: 200.5 kB / 1.036 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004514/0.448, allocations: 74.86 kB / 1.036 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004736/0.4485, allocations: 0 / 1.036 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4487, allocations: 346.8 kB / 1.037 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02013/0.4688, allocations: 3.634 MB / 1.04 GB, free: 9.918 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02006/0.4889, allocations: 3.669 MB / 1.044 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01997/0.509, allocations: 3.369 MB / 1.047 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.509, allocations: 0 / 1.047 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04161/0.5507, allocations: 7.52 MB / 1.054 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.921e-05/0.5508, allocations: 93 kB / 1.054 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03651/0.5873, allocations: 6.834 MB / 1.061 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.5874, allocations: 11.94 kB / 1.061 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01382/0.6012, allocations: 1.685 MB / 1.063 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/0.6013, allocations: 4 kB / 1.063 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/0.6136, allocations: 1.295 MB / 1.064 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/0.6147, allocations: 203.5 kB / 1.064 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.6148, allocations: 4 kB / 1.064 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4898/1.105, allocations: 7.457 MB / 1.071 GB, free: 89.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03724/1.142, allocations: 6.836 MB / 1.078 GB, free: 88.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/1.142, allocations: 1.188 kB / 1.078 GB, free: 88.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01442/1.156, allocations: 1.696 MB / 1.08 GB, free: 88.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/1.156, allocations: 2.062 kB / 1.08 GB, free: 88.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01293/1.169, allocations: 1.288 MB / 1.081 GB, free: 88.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006117/1.17, allocations: 204 kB / 1.081 GB, free: 88.33 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.0007696/1.171, allocations: 220.7 kB / 1.081 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/1.171, allocations: 36.45 kB / 1.081 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03172/1.203, allocations: 6.353 MB / 1.088 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.203, allocations: 3.25 kB / 1.088 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.203, allocations: 0 / 1.088 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.203, allocations: 0 / 1.088 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003351/1.206, allocations: 6.482 MB / 1.094 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02662/1.233, allocations: 5.292 MB / 1.099 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0115/1.244, allocations: 1.45 MB / 1.101 GB, free: 76.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/1.244, allocations: 5.016 kB / 1.101 GB, free: 76.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004157/1.245, allocations: 169.2 kB / 1.101 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/1.245, allocations: 5.078 kB / 1.101 GB, free: 76.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.245, allocations: 3.984 kB / 1.101 GB, free: 76.13 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02777/1.273, allocations: 5.425 MB / 1.106 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.274, allocations: 0.5679 MB / 1.107 GB, free: 73.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003682/1.274, allocations: 13.23 kB / 1.107 GB, free: 73.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01101/1.285, allocations: 1.073 MB / 1.108 GB, free: 72.78 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/1.285, allocations: 46.27 kB / 1.108 GB, free: 72.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005661/1.286, allocations: 175.5 kB / 1.108 GB, free: 72.63 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002449/1.286, allocations: 235 kB / 1.108 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.286, allocations: 0 / 1.108 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002638/1.289, allocations: 0.5875 MB / 1.109 GB, free: 72.45 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.02843/1.317, allocations: 6.051 MB / 1.115 GB, free: 68.08 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.04671/1.364, allocations: 9.662 MB / 1.124 GB, free: 58.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/1.364, allocations: 0 / 1.124 GB, free: 58.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01335/1.377, allocations: 2.736 MB / 1.127 GB, free: 55.67 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009815/1.378, allocations: 81.97 kB / 1.127 GB, free: 55.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06675/1.445, allocations: 15.64 MB / 1.142 GB, free: 39.92 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/1.445, allocations: 0.7884 MB / 1.143 GB, free: 39.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.01053/1.456, allocations: 1.64 MB / 1.144 GB, free: 37.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002501/1.458, allocations: 0.5919 MB / 1.145 GB, free: 36.87 MB / 0.6823 GB Notification: Performance of SimCode: time 1.973e-06/1.458, allocations: 6.719 kB / 1.145 GB, free: 36.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/1.565, allocations: 82.74 MB / 1.226 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/1.565, allocations: 214.7 kB / 1.226 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.767/10.33, allocations: 4 kB / 1.226 GB, free: 1.773 MB / 0.7292 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)