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.001278/0.001277, 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.001673/0.001673, allocations: 187.8 kB / 16.62 MB, free: 6.613 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.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.86/1.86, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001702/0.001702, allocations: 75.45 kB / 0.6718 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2585, 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.004802/0.2633, allocations: 2.844 MB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00454/0.2679, allocations: 2.98 MB / 0.7893 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003301/0.2683, allocations: 4 kB / 0.7893 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.2688, allocations: 75.56 kB / 0.7894 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008041/0.2696, allocations: 221.6 kB / 0.7896 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.2715, allocations: 0.6071 MB / 0.7902 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008946/0.2724, allocations: 0.529 MB / 0.7907 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.2727, allocations: 118.7 kB / 0.7908 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.2731, allocations: 183.4 kB / 0.791 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.2734, allocations: 219.1 kB / 0.7912 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.763e-05/0.2735, allocations: 40 kB / 0.7912 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.2746, allocations: 387.6 kB / 0.7916 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.2747, allocations: 91.67 kB / 0.7917 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.275, allocations: 215 kB / 0.7919 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.2763, allocations: 0.7283 MB / 0.7926 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2764, allocations: 4 kB / 0.7926 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2764, allocations: 0 / 0.7926 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.2764, allocations: 0 / 0.7926 GB, free: 4.02 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.001414/0.2778, allocations: 0.7502 MB / 0.7934 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.2779, allocations: 8.031 kB / 0.7934 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.278, allocations: 58.73 kB / 0.7934 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1002/0.3781, allocations: 12.21 MB / 0.8053 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/0.3805, allocations: 0.9285 MB / 0.8063 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.3805, allocations: 20.94 kB / 0.8063 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008606/0.3814, allocations: 28.36 kB / 0.8063 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01769/0.3991, allocations: 3.738 MB / 0.8099 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.3992, allocations: 3.938 kB / 0.81 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006126/0.3998, allocations: 12 kB / 0.81 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.3999, allocations: 4 kB / 0.81 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01503/0.4149, allocations: 2.965 MB / 0.8129 GB, free: 15.17 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.01622/0.4312, allocations: 17.16 MB / 0.8296 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01566/0.4469, allocations: 2.934 MB / 0.8325 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01514/0.4621, allocations: 2.795 MB / 0.8352 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.4623, allocations: 35.97 kB / 0.8353 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.4623, allocations: 30.56 kB / 0.8353 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.425e-06/0.4623, allocations: 0 / 0.8353 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.04616/0.5085, allocations: 8.549 MB / 0.8436 GB, free: 12.05 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5086, allocations: 55.41 kB / 0.8437 GB, free: 11.98 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/0.509, allocations: 345.7 kB / 0.844 GB, free: 11.64 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006974/0.5097, allocations: 33.7 kB / 0.844 GB, free: 11.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.51, allocations: 192.4 kB / 0.8442 GB, free: 11.41 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004766/0.5105, allocations: 78.94 kB / 0.8443 GB, free: 11.33 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001655/0.5122, allocations: 488.7 kB / 0.8448 GB, free: 10.84 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5123, allocations: 342.8 kB / 0.8451 GB, free: 10.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02003/0.5324, allocations: 3.893 MB / 0.8489 GB, free: 6.602 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02019/0.5526, allocations: 3.93 MB / 0.8527 GB, free: 2.656 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03434/0.587, allocations: 6.207 MB / 0.8588 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.587, allocations: 7.938 kB / 0.8588 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04365/0.6307, allocations: 8.025 MB / 0.8666 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.6308, allocations: 4 kB / 0.8666 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03955/0.6703, allocations: 7.287 MB / 0.8738 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/0.6704, allocations: 3.984 kB / 0.8738 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01536/0.6858, allocations: 1.916 MB / 0.8756 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.6858, allocations: 0 / 0.8756 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0136/0.6994, allocations: 1.51 MB / 0.8771 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000908/0.7004, allocations: 203.5 kB / 0.8773 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02067/0.7211, allocations: 3.99 MB / 0.8812 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02003/0.7411, allocations: 3.927 MB / 0.885 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03355/0.7747, allocations: 6.194 MB / 0.8911 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.872e-06/0.7748, allocations: 3.938 kB / 0.8911 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04245/0.8172, allocations: 8.02 MB / 0.8989 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.8173, allocations: 6.656 kB / 0.8989 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03827/0.8556, allocations: 7.287 MB / 0.906 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.8556, allocations: 0 / 0.906 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01533/0.871, allocations: 1.916 MB / 0.9079 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.8711, allocations: 0 / 0.9079 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01402/0.8851, allocations: 1.506 MB / 0.9094 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/0.8862, allocations: 203.5 kB / 0.9096 GB, free: 8.363 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.001221/0.8874, allocations: 196.1 kB / 0.9098 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006485/0.8881, allocations: 31.62 kB / 0.9098 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03429/0.9224, allocations: 6.695 MB / 0.9163 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.9224, allocations: 4 kB / 0.9163 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.9224, allocations: 0 / 0.9163 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.9225, allocations: 0 / 0.9163 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.506/1.428, allocations: 6.477 MB / 0.9227 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03132/1.46, allocations: 5.631 MB / 0.9282 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01246/1.472, allocations: 1.629 MB / 0.9298 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.952e-05/1.472, allocations: 0 / 0.9298 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008354/1.473, allocations: 172.8 kB / 0.9299 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/1.473, allocations: 6.984 kB / 0.9299 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.473, allocations: 0 / 0.9299 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03097/1.504, allocations: 5.771 MB / 0.9356 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/1.506, allocations: 0.5589 MB / 0.9361 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005549/1.506, allocations: 6.875 kB / 0.9361 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01159/1.518, allocations: 1.261 MB / 0.9373 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/1.518, allocations: 49.89 kB / 0.9374 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009578/1.519, allocations: 171.9 kB / 0.9376 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004364/1.52, allocations: 239.3 kB / 0.9378 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.52, allocations: 6.469 kB / 0.9378 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003393/1.523, allocations: 0.5893 MB / 0.9384 GB, free: 130.3 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.03354/1.557, allocations: 6.378 MB / 0.9446 GB, free: 128.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.05118/1.608, allocations: 10.29 MB / 0.9546 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.608, allocations: 0 / 0.9546 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01392/1.622, allocations: 2.904 MB / 0.9575 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/1.623, allocations: 88.75 kB / 0.9576 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1055/1.729, allocations: 24.56 MB / 0.9815 GB, free: 97.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/1.729, allocations: 0.7923 MB / 0.9823 GB, free: 96.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00803/1.737, allocations: 1.64 MB / 0.9839 GB, free: 95.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002509/1.739, allocations: 0.5958 MB / 0.9845 GB, free: 94.55 MB / 0.7325 GB Notification: Performance of SimCode: time 9.11e-07/1.74, allocations: 0 / 0.9845 GB, free: 94.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/1.855, allocations: 88.17 MB / 1.071 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.08/17.93, allocations: 10.8 kB / 1.071 GB, free: 6.23 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)