Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.InteriorConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",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.001395/0.001395, allocations: 105.4 kB / 15.7 MB, free: 28 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.001826/0.001826, allocations: 193.9 kB / 16.64 MB, free: 6.453 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.557/1.557, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.737/1.737, 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.001448/0.001448, allocations: 71.02 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2542, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.003398/0.2576, allocations: 1.843 MB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.259, allocations: 0.7683 MB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.487e-05/0.2591, allocations: 0 / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.889e-05/0.2592, allocations: 15.86 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.2595, allocations: 47.62 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.2598, allocations: 83.78 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.26, allocations: 123.4 kB / 0.7865 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.2602, allocations: 45.64 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.13e-05/0.2603, allocations: 43.84 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.2604, allocations: 47.78 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.2605, allocations: 12 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.365e-05/0.2605, allocations: 23.92 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.2606, allocations: 19.92 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.2606, allocations: 51.73 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.2608, allocations: 107.6 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2608, allocations: 3.984 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2608, allocations: 0 / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2609, allocations: 0 / 0.7868 GB, free: 10 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006013/0.2615, allocations: 415.1 kB / 0.7872 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2615, allocations: 15.97 kB / 0.7872 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.2616, allocations: 38.75 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.2616, allocations: 12.75 kB / 0.7873 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.2619, allocations: 196.2 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2619, allocations: 8.375 kB / 0.7875 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.2619, allocations: 12.38 kB / 0.7875 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.2621, allocations: 96.36 kB / 0.7876 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.2622, allocations: 0 / 0.7876 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.2622, allocations: 8 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2622, allocations: 4 kB / 0.7876 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.2624, allocations: 63.86 kB / 0.7876 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.263, allocations: 360.4 kB / 0.788 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.2632, allocations: 58.55 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.705e-05/0.2633, allocations: 28.89 kB / 0.7881 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.2634, allocations: 0 / 0.7881 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.2634, allocations: 38.44 kB / 0.7881 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2634, allocations: 0 / 0.7881 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003798/0.2638, allocations: 93.7 kB / 0.7882 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.2638, allocations: 59.41 kB / 0.7882 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.264, allocations: 150.5 kB / 0.7884 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.264, allocations: 25.7 kB / 0.7884 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.2641, allocations: 111.9 kB / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.2641, allocations: 7.906 kB / 0.7885 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.2641, allocations: 17.7 kB / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.2642, allocations: 318.8 kB / 0.7888 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-05/0.2643, allocations: 36.77 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.089e-05/0.2644, allocations: 16.17 kB / 0.7889 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.2646, allocations: 60.83 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2646, allocations: 0 / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002155/0.2648, allocations: 81.56 kB / 0.789 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2649, allocations: 11.94 kB / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2649, allocations: 0 / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2649, allocations: 0 / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.205e-05/0.265, allocations: 15.92 kB / 0.7891 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.265, allocations: 0 / 0.7891 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.531e-05/0.2651, allocations: 15.92 kB / 0.7891 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.2651, allocations: 0 / 0.7891 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001349/0.2652, allocations: 104.1 kB / 0.7892 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.806e-05/0.2653, allocations: 27.92 kB / 0.7892 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001518/0.2655, allocations: 48.81 kB / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.2655, allocations: 0 / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0002016/0.2657, allocations: 81.56 kB / 0.7893 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.154e-06/0.2657, allocations: 4 kB / 0.7893 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.2657, allocations: 3.938 kB / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-06/0.2657, allocations: 0 / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/0.2658, allocations: 15.98 kB / 0.7893 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-06/0.2658, allocations: 0 / 0.7893 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.2659, allocations: 11.89 kB / 0.7894 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.2659, allocations: 4 kB / 0.7894 GB, free: 7.133 MB / 0.6075 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 (4): * Single equations (assignments): 4 * 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 8.633e-05/0.266, allocations: 180.2 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.266, allocations: 11.84 kB / 0.7895 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.2663, allocations: 85.89 kB / 0.7896 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2663, allocations: 4 kB / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.2663, allocations: 0 / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2663, allocations: 0 / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.2665, allocations: 189.6 kB / 0.7898 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2665, allocations: 0 / 0.7898 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/0.2666, allocations: 12 kB / 0.7898 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2666, allocations: 3.938 kB / 0.7898 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.2666, allocations: 0 / 0.7898 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2666, allocations: 3.984 kB / 0.7898 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2666, allocations: 7.938 kB / 0.7898 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.2668, allocations: 179.6 kB / 0.79 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.2669, allocations: 84.95 kB / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.2669, allocations: 0 / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.267, allocations: 8.031 kB / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.2671, allocations: 7.984 kB / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.2671, allocations: 4 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.884e-05/0.2672, allocations: 125.7 kB / 0.7902 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2672, allocations: 0 / 0.7902 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003225/0.2675, allocations: 35.84 kB / 0.7903 GB, free: 6.105 MB / 0.6075 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 (3): * Single equations (assignments): 3 * 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.0005691/0.2681, allocations: 0.7162 MB / 0.791 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003226/0.2684, allocations: 75.92 kB / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2684, allocations: 3.938 kB / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.804e-05/0.2685, allocations: 23.92 kB / 0.7911 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.2689, allocations: 30.72 kB / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.2706, allocations: 1.525 MB / 0.7926 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.2709, allocations: 0.7002 MB / 0.7933 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.838e-05/0.2709, allocations: 12.42 kB / 0.7933 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.271, allocations: 23.44 kB / 0.7933 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.271, allocations: 0 / 0.7933 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.29, allocations: 2.664 MB / 0.7959 GB, free: 360 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/7.906, allocations: 3.125 kB / 0.7959 GB, free: 360 kB / 0.6075 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1)