Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.418/1.418, allocations: 287.4 MB / 302.6 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008782/0.0008781, allocations: 181.4 kB / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.108/1.108, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006722/0.0006721, allocations: 88.44 kB / 0.7431 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003153, allocations: 12.39 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1457, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.001931/0.1477, allocations: 2.405 MB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00236/0.1501, allocations: 2.755 MB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.1502, allocations: 4 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.1503, allocations: 47.61 kB / 0.9838 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.1507, allocations: 201.4 kB / 0.984 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.1513, allocations: 494.5 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.1517, allocations: 485.8 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1518, allocations: 98.59 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.152, allocations: 163.4 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1521, allocations: 195.1 kB / 0.9854 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.1521, allocations: 20 kB / 0.9854 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.1526, allocations: 351.7 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.1526, allocations: 75.66 kB / 0.9858 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.1527, allocations: 93.52 kB / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.1531, allocations: 0.522 MB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1531, allocations: 4 kB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1531, allocations: 0 / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.1531, allocations: 0 / 0.9864 GB, free: 20.18 MB / 0.6198 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.000667/0.1538, allocations: 0.6662 MB / 0.9871 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.1538, allocations: 8.031 kB / 0.9871 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/0.1539, allocations: 62.73 kB / 0.9871 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07839/0.2323, allocations: 10.59 MB / 0.9975 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.2337, allocations: 0.9324 MB / 0.9984 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.2337, allocations: 20.94 kB / 0.9984 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004393/0.2342, allocations: 28.38 kB / 0.9984 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.2468, allocations: 3.555 MB / 1.002 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2469, allocations: 8 kB / 1.002 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.2471, allocations: 8 kB / 1.002 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2471, allocations: 11.98 kB / 1.002 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.2586, allocations: 2.797 MB / 1.005 GB, free: 1.371 MB / 0.6198 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.01258/0.2712, allocations: 17.17 MB / 1.021 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/0.2836, allocations: 2.758 MB / 1.024 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01212/0.2958, allocations: 2.62 MB / 1.027 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.128e-05/0.2959, allocations: 35.97 kB / 1.027 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.2959, allocations: 38.55 kB / 1.027 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 2.936e-06/0.296, allocations: 7.938 kB / 1.027 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.0371/0.3331, allocations: 8.023 MB / 1.035 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3331, allocations: 59.41 kB / 1.035 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.3335, allocations: 345.7 kB / 1.035 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000321/0.3338, allocations: 25.7 kB / 1.035 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.334, allocations: 204.4 kB / 1.035 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.3343, allocations: 74.86 kB / 1.035 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.3346, allocations: 4 kB / 1.035 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3347, allocations: 342.8 kB / 1.036 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01717/0.3519, allocations: 3.634 MB / 1.039 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01692/0.3688, allocations: 3.684 MB / 1.043 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02777/0.3966, allocations: 5.79 MB / 1.048 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.3966, allocations: 3.938 kB / 1.048 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03492/0.4316, allocations: 7.526 MB / 1.056 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.79e-05/0.4316, allocations: 93 kB / 1.056 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03117/0.4628, allocations: 6.838 MB / 1.063 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.4629, allocations: 0 / 1.063 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01248/0.4753, allocations: 1.689 MB / 1.064 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.4754, allocations: 3.938 kB / 1.064 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3117/0.7871, allocations: 1.291 MB / 1.065 GB, free: 90.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007332/0.7879, allocations: 204.5 kB / 1.066 GB, free: 90.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.7879, allocations: 8.188 kB / 1.066 GB, free: 90.45 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0362/0.8241, allocations: 7.466 MB / 1.073 GB, free: 89.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0311/0.8552, allocations: 6.831 MB / 1.08 GB, free: 88.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.8553, allocations: 1.406 kB / 1.08 GB, free: 88.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01216/0.8675, allocations: 1.696 MB / 1.081 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.8675, allocations: 1.25 kB / 1.081 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01094/0.8784, allocations: 1.283 MB / 1.083 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004841/0.8789, allocations: 204.2 kB / 1.083 GB, free: 88.02 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008016/0.8797, allocations: 223.2 kB / 1.083 GB, free: 87.81 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/0.88, allocations: 37.06 kB / 1.083 GB, free: 87.81 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02717/0.9072, allocations: 6.347 MB / 1.089 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.9073, allocations: 6.984 kB / 1.089 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.9073, allocations: 0 / 1.089 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.9073, allocations: 7.047 kB / 1.089 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003066/0.9103, allocations: 6.486 MB / 1.096 GB, free: 79.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02324/0.9336, allocations: 5.285 MB / 1.101 GB, free: 76.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01024/0.9439, allocations: 1.453 MB / 1.102 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.9439, allocations: 1.344 kB / 1.102 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003019/0.9442, allocations: 173 kB / 1.102 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.9442, allocations: 2.188 kB / 1.102 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9442, allocations: 3.938 kB / 1.102 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02376/0.968, allocations: 5.433 MB / 1.108 GB, free: 73.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008457/0.9689, allocations: 0.5707 MB / 1.108 GB, free: 73.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/0.9693, allocations: 4.969 kB / 1.108 GB, free: 73.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009192/0.9785, allocations: 1.081 MB / 1.109 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.9786, allocations: 42.5 kB / 1.109 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003203/0.9789, allocations: 177.5 kB / 1.109 GB, free: 72.56 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001962/0.9791, allocations: 235.2 kB / 1.11 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9791, allocations: 2.188 kB / 1.11 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002589/0.9817, allocations: 0.5879 MB / 1.11 GB, free: 72.39 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02343/1.005, allocations: 6.036 MB / 1.116 GB, free: 66.89 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.04184/1.047, allocations: 9.662 MB / 1.126 GB, free: 57.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.047, allocations: 4 kB / 1.126 GB, free: 57.22 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01214/1.059, allocations: 2.728 MB / 1.128 GB, free: 54.49 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009541/1.06, allocations: 89.91 kB / 1.128 GB, free: 54.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05959/1.12, allocations: 15.63 MB / 1.144 GB, free: 38.73 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/1.12, allocations: 0.7923 MB / 1.144 GB, free: 37.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.01041/1.13, allocations: 1.641 MB / 1.146 GB, free: 36.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002463/1.133, allocations: 0.5924 MB / 1.146 GB, free: 35.68 MB / 0.6823 GB Notification: Performance of SimCode: time 6.31e-07/1.133, allocations: 0 / 1.146 GB, free: 35.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8372/1.97, allocations: 82.74 MB / 1.227 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/1.97, allocations: 206.7 kB / 1.227 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/10.02, allocations: 10.62 kB / 1.228 GB, free: 0.6172 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)