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.001149/0.001149, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 187.3 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.743/1.743, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001651/0.001651, allocations: 67.42 kB / 0.6718 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2819, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004759/0.2867, allocations: 2.854 MB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004329/0.291, allocations: 2.975 MB / 0.7893 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.2912, allocations: 4 kB / 0.7893 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.2915, allocations: 79.55 kB / 0.7894 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005177/0.292, allocations: 214.5 kB / 0.7896 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.2933, allocations: 0.6066 MB / 0.7902 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006261/0.294, allocations: 0.529 MB / 0.7907 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.2942, allocations: 118.7 kB / 0.7908 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.2944, allocations: 191.3 kB / 0.791 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.2947, allocations: 223.1 kB / 0.7912 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.2947, allocations: 36 kB / 0.7913 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006567/0.2954, allocations: 387.7 kB / 0.7916 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.2955, allocations: 91.61 kB / 0.7917 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.2957, allocations: 219 kB / 0.7919 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008724/0.2965, allocations: 0.7244 MB / 0.7926 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2966, allocations: 0 / 0.7926 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2966, allocations: 4 kB / 0.7926 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.2966, allocations: 0 / 0.7926 GB, free: 4.016 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.001172/0.2978, allocations: 0.7518 MB / 0.7934 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2978, allocations: 8.031 kB / 0.7934 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.915e-05/0.2979, allocations: 58.73 kB / 0.7934 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09206/0.39, allocations: 12.21 MB / 0.8053 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.3923, allocations: 0.9324 MB / 0.8063 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.3923, allocations: 20.94 kB / 0.8063 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004235/0.3928, allocations: 24.38 kB / 0.8063 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01506/0.4079, allocations: 3.738 MB / 0.81 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4079, allocations: 0 / 0.81 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/0.4082, allocations: 15.98 kB / 0.81 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4082, allocations: 4 kB / 0.81 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0138/0.422, allocations: 2.965 MB / 0.8129 GB, free: 15.16 MB / 0.6387 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.01733/0.4394, allocations: 17.16 MB / 0.8296 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/0.4533, allocations: 2.934 MB / 0.8325 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01399/0.4673, allocations: 2.794 MB / 0.8352 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.4675, allocations: 35.92 kB / 0.8353 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.4675, allocations: 34.56 kB / 0.8353 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.905e-06/0.4675, allocations: 0 / 0.8353 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.04187/0.5094, allocations: 8.541 MB / 0.8436 GB, free: 12.05 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.5095, allocations: 51.41 kB / 0.8437 GB, free: 11.99 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004387/0.5099, allocations: 349.7 kB / 0.844 GB, free: 11.64 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005669/0.5105, allocations: 33.7 kB / 0.844 GB, free: 11.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.5108, allocations: 192.4 kB / 0.8442 GB, free: 11.41 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/0.5111, allocations: 82.92 kB / 0.8443 GB, free: 11.33 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/0.5124, allocations: 484.8 kB / 0.8448 GB, free: 10.85 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5126, allocations: 342.8 kB / 0.8451 GB, free: 10.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01916/0.5317, allocations: 3.893 MB / 0.8489 GB, free: 6.605 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01882/0.5506, allocations: 3.934 MB / 0.8527 GB, free: 2.656 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03184/0.5825, allocations: 6.203 MB / 0.8588 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.5825, allocations: 7.938 kB / 0.8588 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03843/0.621, allocations: 8.022 MB / 0.8666 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.621, allocations: 11.94 kB / 0.8666 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03533/0.6564, allocations: 7.29 MB / 0.8738 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.6565, allocations: 4 kB / 0.8738 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01393/0.6704, allocations: 1.916 MB / 0.8756 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.6704, allocations: 0 / 0.8756 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01269/0.6831, allocations: 1.51 MB / 0.8771 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000779/0.684, allocations: 203.5 kB / 0.8773 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0186/0.7026, allocations: 3.99 MB / 0.8812 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01821/0.7208, allocations: 3.927 MB / 0.885 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03094/0.7518, allocations: 6.196 MB / 0.8911 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.476e-06/0.7519, allocations: 7.875 kB / 0.8911 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.03914/0.791, allocations: 8.022 MB / 0.8989 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.7911, allocations: 4 kB / 0.8989 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03537/0.8264, allocations: 7.28 MB / 0.906 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.8265, allocations: 96 / 0.906 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01369/0.8402, allocations: 1.912 MB / 0.9079 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.8402, allocations: 0 / 0.9079 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01255/0.8528, allocations: 1.51 MB / 0.9094 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009339/0.8538, allocations: 207.5 kB / 0.9096 GB, free: 8.355 MB / 0.7325 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.0009659/0.8548, allocations: 196.1 kB / 0.9098 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/0.8552, allocations: 31.62 kB / 0.9098 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03165/0.8869, allocations: 6.69 MB / 0.9163 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.887, allocations: 7.938 kB / 0.9163 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.887, allocations: 0 / 0.9163 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.887, allocations: 0 / 0.9163 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.483/1.37, allocations: 6.477 MB / 0.9227 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0293/1.399, allocations: 5.631 MB / 0.9282 GB, free: 132 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01175/1.411, allocations: 1.625 MB / 0.9298 GB, free: 132 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/1.411, allocations: 3.281 kB / 0.9298 GB, free: 132 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005138/1.412, allocations: 171.2 kB / 0.9299 GB, free: 132 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/1.412, allocations: 2.656 kB / 0.9299 GB, free: 132 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.412, allocations: 5.438 kB / 0.9299 GB, free: 132 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02772/1.439, allocations: 5.77 MB / 0.9356 GB, free: 131 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/1.441, allocations: 0.5638 MB / 0.9361 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004063/1.441, allocations: 6.688 kB / 0.9361 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01103/1.452, allocations: 1.259 MB / 0.9374 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/1.452, allocations: 44 kB / 0.9374 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004882/1.453, allocations: 172.4 kB / 0.9376 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003281/1.453, allocations: 239.9 kB / 0.9378 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.112e-06/1.453, allocations: 4 kB / 0.9378 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002534/1.456, allocations: 0.5924 MB / 0.9384 GB, free: 130.4 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 (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.02836/1.484, allocations: 6.382 MB / 0.9446 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.04776/1.532, allocations: 10.29 MB / 0.9546 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.532, allocations: 0 / 0.9546 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.013/1.545, allocations: 2.911 MB / 0.9575 GB, free: 122.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/1.546, allocations: 81.36 kB / 0.9576 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1048/1.651, allocations: 24.55 MB / 0.9815 GB, free: 97.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/1.651, allocations: 0.7923 MB / 0.9823 GB, free: 96.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.008068/1.659, allocations: 1.638 MB / 0.9839 GB, free: 95.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002542/1.662, allocations: 0.5958 MB / 0.9845 GB, free: 94.62 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/1.662, allocations: 0 / 0.9845 GB, free: 94.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/1.774, allocations: 88.17 MB / 1.071 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.77, allocations: 9.547 kB / 1.071 GB, free: 6.305 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/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)