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.001181/0.001181, allocations: 108 kB / 15.61 MB, free: 152 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.001284/0.001284, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.303/1.303, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.684/1.684, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001342/0.001342, allocations: 72.23 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1817, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.00402/0.1858, allocations: 2.833 MB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00363/0.1894, allocations: 2.984 MB / 0.7892 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.1897, allocations: 4 kB / 0.7892 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1899, allocations: 79.56 kB / 0.7892 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005287/0.1905, allocations: 210.5 kB / 0.7894 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.1917, allocations: 0.6071 MB / 0.79 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005101/0.1922, allocations: 0.5251 MB / 0.7905 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.1924, allocations: 114.7 kB / 0.7907 GB, free: 6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.1926, allocations: 187.4 kB / 0.7908 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.1928, allocations: 219.1 kB / 0.791 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.1929, allocations: 40 kB / 0.7911 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006406/0.1935, allocations: 383.7 kB / 0.7914 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.1936, allocations: 91.67 kB / 0.7915 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.1938, allocations: 215 kB / 0.7917 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007466/0.1945, allocations: 0.7284 MB / 0.7924 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1945, allocations: 0 / 0.7924 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1945, allocations: 3.938 kB / 0.7925 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.1945, allocations: 0 / 0.7925 GB, free: 4.152 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.0009499/0.1955, allocations: 0.744 MB / 0.7932 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1955, allocations: 8.031 kB / 0.7932 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.511e-05/0.1956, allocations: 58.73 kB / 0.7932 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09043/0.286, allocations: 12.21 MB / 0.8052 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.2877, allocations: 0.9284 MB / 0.8061 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.2877, allocations: 20.94 kB / 0.8061 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004267/0.2882, allocations: 24.38 kB / 0.8061 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01484/0.303, allocations: 3.746 MB / 0.8098 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3031, allocations: 0 / 0.8098 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004668/0.3035, allocations: 12 kB / 0.8098 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3036, allocations: 4 kB / 0.8098 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02158/0.3251, allocations: 2.968 MB / 0.8127 GB, free: 15.3 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.01928/0.3445, allocations: 17.17 MB / 0.8295 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/0.3598, allocations: 2.938 MB / 0.8323 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01282/0.3726, allocations: 2.795 MB / 0.8351 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.76e-05/0.3727, allocations: 27.98 kB / 0.8351 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3728, allocations: 34.56 kB / 0.8351 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.815e-06/0.3728, allocations: 0 / 0.8351 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.04011/0.4129, allocations: 8.543 MB / 0.8435 GB, free: 12.18 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.413, allocations: 51.41 kB / 0.8435 GB, free: 12.12 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.4133, allocations: 349.7 kB / 0.8438 GB, free: 11.77 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003561/0.4137, allocations: 29.7 kB / 0.8439 GB, free: 11.73 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.4139, allocations: 200.4 kB / 0.8441 GB, free: 11.54 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.4142, allocations: 74.94 kB / 0.8441 GB, free: 11.46 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/0.4155, allocations: 480.8 kB / 0.8446 GB, free: 10.98 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4156, allocations: 350.7 kB / 0.8449 GB, free: 10.63 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01822/0.4338, allocations: 3.893 MB / 0.8487 GB, free: 6.734 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01831/0.4521, allocations: 3.934 MB / 0.8526 GB, free: 2.785 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03033/0.4825, allocations: 6.207 MB / 0.8586 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.4825, allocations: 3.938 kB / 0.8586 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03748/0.52, allocations: 8.029 MB / 0.8665 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.5201, allocations: 8 kB / 0.8665 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03329/0.5534, allocations: 7.283 MB / 0.8736 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.5534, allocations: 4 kB / 0.8736 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01393/0.5674, allocations: 1.912 MB / 0.8755 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.5674, allocations: 0 / 0.8755 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01242/0.5798, allocations: 1.51 MB / 0.8769 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005242/0.5804, allocations: 203.5 kB / 0.8771 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01833/0.5987, allocations: 3.99 MB / 0.881 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01804/0.6168, allocations: 3.931 MB / 0.8849 GB, free: 1.652 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03009/0.6469, allocations: 6.193 MB / 0.8909 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.36e-06/0.6469, allocations: 3.938 kB / 0.8909 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.03775/0.6847, allocations: 8.024 MB / 0.8988 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.6847, allocations: 12 kB / 0.8988 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03321/0.7179, allocations: 7.272 MB / 0.9059 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.7179, allocations: 7.938 kB / 0.9059 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01357/0.7315, allocations: 1.919 MB / 0.9078 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.7316, allocations: 0 / 0.9078 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01238/0.744, allocations: 1.498 MB / 0.9092 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006948/0.7447, allocations: 211.5 kB / 0.9094 GB, free: 8.488 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.0009159/0.7456, allocations: 196.1 kB / 0.9096 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005493/0.7462, allocations: 31.62 kB / 0.9096 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02978/0.776, allocations: 6.702 MB / 0.9162 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.776, allocations: 4 kB / 0.9162 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.776, allocations: 0 / 0.9162 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.776, allocations: 0 / 0.9162 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2971/1.073, allocations: 6.481 MB / 0.9225 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02639/1.1, allocations: 5.631 MB / 0.928 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01155/1.111, allocations: 1.628 MB / 0.9296 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/1.111, allocations: 3.828 kB / 0.9296 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003862/1.112, allocations: 171.9 kB / 0.9298 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/1.112, allocations: 0.75 kB / 0.9298 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.112, allocations: 6.094 kB / 0.9298 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03002/1.142, allocations: 5.774 MB / 0.9354 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.143, allocations: 0.5553 MB / 0.936 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004975/1.143, allocations: 7.125 kB / 0.936 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01126/1.155, allocations: 1.256 MB / 0.9372 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/1.155, allocations: 45.27 kB / 0.9372 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004994/1.155, allocations: 176.8 kB / 0.9374 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003424/1.156, allocations: 242.9 kB / 0.9376 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.3e-07/1.156, allocations: 0 / 0.9376 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003113/1.159, allocations: 0.59 MB / 0.9382 GB, free: 130.6 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.02771/1.186, allocations: 6.386 MB / 0.9444 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.04584/1.232, allocations: 10.31 MB / 0.9545 GB, free: 124.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/1.232, allocations: 0 / 0.9545 GB, free: 124.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0126/1.245, allocations: 2.911 MB / 0.9574 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/1.246, allocations: 84.86 kB / 0.9574 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09455/1.341, allocations: 24.58 MB / 0.9814 GB, free: 97.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/1.341, allocations: 0.8001 MB / 0.9822 GB, free: 96.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.009884/1.351, allocations: 1.655 MB / 0.9838 GB, free: 95.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002548/1.354, allocations: 0.5919 MB / 0.9844 GB, free: 94.72 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/1.354, allocations: 0 / 0.9844 GB, free: 94.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5563/1.91, allocations: 88.18 MB / 1.071 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/15.09, allocations: 17.28 kB / 1.071 GB, free: 6.398 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)