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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 106.3 kB / 16.36 MB, free: 6.414 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.00129/0.00129, allocations: 193.7 kB / 17.3 MB, free: 5.789 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.389/1.389, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.827/1.827, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001495/0.001495, allocations: 70.86 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1951, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003954/0.1991, allocations: 2.832 MB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3129/0.5121, allocations: 2.983 MB / 0.7905 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.5123, allocations: 5.688 kB / 0.7905 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.5126, allocations: 75.69 kB / 0.7905 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005761/0.5132, allocations: 207.2 kB / 0.7907 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.5145, allocations: 0.6064 MB / 0.7913 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004934/0.515, allocations: 0.5362 MB / 0.7919 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.5152, allocations: 110.4 kB / 0.792 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.5154, allocations: 188.6 kB / 0.7921 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.5156, allocations: 216.8 kB / 0.7923 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/0.5156, allocations: 37.12 kB / 0.7924 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007034/0.5164, allocations: 384.3 kB / 0.7927 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.5164, allocations: 103.2 kB / 0.7928 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.5166, allocations: 210.4 kB / 0.793 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007045/0.5173, allocations: 0.7229 MB / 0.7938 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5173, allocations: 3.422 kB / 0.7938 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5173, allocations: 0.5938 kB / 0.7938 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.5173, allocations: 4.312 kB / 0.7938 GB, free: 45.91 MB / 0.6544 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.0009348/0.5183, allocations: 0.75 MB / 0.7945 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.5183, allocations: 10.41 kB / 0.7945 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09687/0.6152, allocations: 12.2 MB / 0.8064 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.6176, allocations: 0.9355 MB / 0.8073 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.6177, allocations: 22.53 kB / 0.8074 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007482/0.6184, allocations: 25.34 kB / 0.8074 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/0.6349, allocations: 3.739 MB / 0.811 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.635, allocations: 0 / 0.811 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003035/0.6353, allocations: 10.09 kB / 0.811 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.6353, allocations: 7.344 kB / 0.811 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.6502, allocations: 2.97 MB / 0.8139 GB, free: 43.71 MB / 0.6544 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.01372/0.664, allocations: 17.15 MB / 0.8307 GB, free: 25.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01431/0.6783, allocations: 2.936 MB / 0.8336 GB, free: 24.97 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01407/0.6924, allocations: 2.793 MB / 0.8363 GB, free: 23.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.6926, allocations: 36.41 kB / 0.8363 GB, free: 23.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.6926, allocations: 39.09 kB / 0.8364 GB, free: 23.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.955e-06/0.6926, allocations: 0 / 0.8364 GB, free: 23.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.04392/0.7365, allocations: 8.54 MB / 0.8447 GB, free: 20.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.7366, allocations: 57.38 kB / 0.8448 GB, free: 19.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.737, allocations: 340.9 kB / 0.8451 GB, free: 19.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007481/0.7377, allocations: 30.89 kB / 0.8451 GB, free: 19.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.738, allocations: 199.2 kB / 0.8453 GB, free: 19.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004744/0.7385, allocations: 76.52 kB / 0.8454 GB, free: 19.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001585/0.7401, allocations: 485.2 kB / 0.8458 GB, free: 19.15 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.698e-05/0.7401, allocations: 342.2 kB / 0.8462 GB, free: 18.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01939/0.7595, allocations: 3.894 MB / 0.85 GB, free: 17.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01953/0.7791, allocations: 3.938 MB / 0.8538 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03119/0.8103, allocations: 6.202 MB / 0.8599 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.8104, allocations: 0 / 0.8599 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03807/0.8484, allocations: 8.03 MB / 0.8677 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.8485, allocations: 16.77 kB / 0.8677 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03589/0.8844, allocations: 7.275 MB / 0.8748 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.041e-05/0.8845, allocations: 4 kB / 0.8748 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01476/0.8992, allocations: 1.915 MB / 0.8767 GB, free: 8.621 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.8993, allocations: 0 / 0.8767 GB, free: 8.621 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01371/0.913, allocations: 1.516 MB / 0.8782 GB, free: 7.105 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008719/0.9139, allocations: 205.8 kB / 0.8784 GB, free: 6.906 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02086/0.9348, allocations: 3.989 MB / 0.8823 GB, free: 2.906 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01969/0.9545, allocations: 3.933 MB / 0.8861 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03355/0.9881, allocations: 6.192 MB / 0.8922 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.302e-06/0.9881, allocations: 0 / 0.8922 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.06241/1.051, allocations: 8.027 MB / 0.9 GB, free: 0.7305 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/1.051, allocations: 4 kB / 0.9 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0779/1.129, allocations: 7.279 MB / 0.9071 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.129, allocations: 0 / 0.9071 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02831/1.157, allocations: 1.915 MB / 0.909 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-06/1.157, allocations: 0 / 0.909 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01512/1.172, allocations: 1.499 MB / 0.9104 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008299/1.173, allocations: 203.5 kB / 0.9106 GB, free: 5.828 MB / 0.7012 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.00116/1.174, allocations: 196.1 kB / 0.9108 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006377/1.175, allocations: 35.61 kB / 0.9109 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03359/1.208, allocations: 6.701 MB / 0.9174 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/1.208, allocations: 4 kB / 0.9174 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.208, allocations: 0 / 0.9174 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/1.208, allocations: 0.6094 kB / 0.9174 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0063/1.215, allocations: 6.496 MB / 0.9238 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0314/1.246, allocations: 5.623 MB / 0.9292 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01357/1.26, allocations: 1.627 MB / 0.9308 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/1.26, allocations: 0.8438 kB / 0.9308 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006718/1.261, allocations: 177.7 kB / 0.931 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-05/1.261, allocations: 4 kB / 0.931 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.261, allocations: 7.984 kB / 0.931 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02954/1.29, allocations: 5.776 MB / 0.9367 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/1.292, allocations: 0.5591 MB / 0.9372 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005626/1.292, allocations: 8 kB / 0.9372 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01164/1.304, allocations: 1.257 MB / 0.9384 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/1.304, allocations: 39.91 kB / 0.9385 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005855/1.305, allocations: 181.3 kB / 0.9386 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002837/1.305, allocations: 227.2 kB / 0.9389 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.305, allocations: 0 / 0.9389 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002856/1.308, allocations: 0.5934 MB / 0.9394 GB, free: 6.867 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.0006611/1.308, allocations: 183.1 kB / 0.9396 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.05307/1.361, allocations: 10.28 MB / 0.9497 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/1.362, allocations: 7.938 kB / 0.9497 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01478/1.376, allocations: 2.903 MB / 0.9525 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/1.378, allocations: 98.5 kB / 0.9526 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/1.393, allocations: 3.215 MB / 0.9557 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/1.393, allocations: 0.796 MB / 0.9565 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.008607/1.402, allocations: 1.636 MB / 0.9581 GB, free: 3.715 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002856/1.405, allocations: 0.4982 MB / 0.9586 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of SimCode: time 8.51e-07/1.405, allocations: 7.938 kB / 0.9586 GB, free: 3.207 MB / 0.7481 GB Notification: Performance of Templates: time 0.1166/1.521, allocations: 84.76 MB / 1.041 GB, free: 14.24 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (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 & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)