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 2.493/2.493, allocations: 287.5 MB / 302.4 MB, free: 8.359 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.001354/0.001353, allocations: 197.1 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.000863/0.0008626, allocations: 93.73 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004926, allocations: 12.94 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2119, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003176/0.2151, allocations: 2.405 MB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004582/0.2197, allocations: 2.753 MB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.22, allocations: 4 kB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.2202, allocations: 51.61 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006474/0.2209, allocations: 192.1 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.2226, allocations: 492.9 kB / 0.9842 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006933/0.2233, allocations: 493.7 kB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.2235, allocations: 94.02 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.2237, allocations: 163.4 kB / 0.9849 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.224, allocations: 187.2 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.403e-05/0.2241, allocations: 20 kB / 0.9851 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.2252, allocations: 355.6 kB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.888e-05/0.2252, allocations: 63.75 kB / 0.9855 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.2253, allocations: 101.5 kB / 0.9856 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007729/0.2261, allocations: 0.5221 MB / 0.9861 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2262, allocations: 0 / 0.9861 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2262, allocations: 0 / 0.9861 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2262, allocations: 0 / 0.9861 GB, free: 20.36 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.001208/0.2274, allocations: 0.6699 MB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.2275, allocations: 24 kB / 0.9868 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.368e-05/0.2275, allocations: 58.55 kB / 0.9868 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1746/0.4021, allocations: 10.6 MB / 0.9972 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.4047, allocations: 0.9119 MB / 0.9981 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.4048, allocations: 20.56 kB / 0.9981 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008171/0.4056, allocations: 32 kB / 0.9981 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02742/0.4331, allocations: 3.562 MB / 1.002 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.4331, allocations: 0 / 1.002 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004462/0.4336, allocations: 7.938 kB / 1.002 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.4336, allocations: 8 kB / 1.002 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02578/0.4594, allocations: 2.801 MB / 1.004 GB, free: 1.547 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.02165/0.4811, allocations: 17.17 MB / 1.021 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02684/0.508, allocations: 2.766 MB / 1.024 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02661/0.5346, allocations: 2.624 MB / 1.026 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.5348, allocations: 27.98 kB / 1.026 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.5349, allocations: 42.56 kB / 1.026 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 3.256e-06/0.5349, allocations: 0 / 1.026 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.08301/0.6179, allocations: 8.03 MB / 1.034 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.618, allocations: 59.34 kB / 1.034 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.6186, allocations: 345.7 kB / 1.035 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0008933/0.6195, allocations: 33.7 kB / 1.035 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.6199, allocations: 188.5 kB / 1.035 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004892/0.6204, allocations: 78.83 kB / 1.035 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005882/0.621, allocations: 8 kB / 1.035 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.6211, allocations: 346.8 kB / 1.035 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03754/0.6587, allocations: 3.626 MB / 1.039 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03769/0.6964, allocations: 3.684 MB / 1.042 GB, free: 6.883 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03705/0.7335, allocations: 3.345 MB / 1.046 GB, free: 3.535 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.7336, allocations: 4 kB / 1.046 GB, free: 3.531 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0786/0.8122, allocations: 7.526 MB / 1.053 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.868e-05/0.8123, allocations: 105 kB / 1.053 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06973/0.8821, allocations: 6.827 MB / 1.06 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.8821, allocations: 0 / 1.06 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02802/0.9102, allocations: 1.697 MB / 1.062 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/0.9102, allocations: 7.984 kB / 1.062 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02588/0.9361, allocations: 1.284 MB / 1.063 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/0.9374, allocations: 207.5 kB / 1.063 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.9374, allocations: 4 kB / 1.063 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6844/1.622, allocations: 7.464 MB / 1.07 GB, free: 89.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06995/1.692, allocations: 6.832 MB / 1.077 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/1.692, allocations: 1.125 kB / 1.077 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02741/1.719, allocations: 1.698 MB / 1.079 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/1.719, allocations: 1.25 kB / 1.079 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02556/1.745, allocations: 1.279 MB / 1.08 GB, free: 88.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/1.746, allocations: 211 kB / 1.08 GB, free: 88.32 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.001136/1.747, allocations: 222.3 kB / 1.08 GB, free: 88.11 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005755/1.748, allocations: 36.53 kB / 1.08 GB, free: 88.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06014/1.808, allocations: 6.354 MB / 1.086 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.808, allocations: 3.938 kB / 1.086 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.808, allocations: 0 / 1.086 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.808, allocations: 1.875 kB / 1.086 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00632/1.814, allocations: 6.477 MB / 1.093 GB, free: 79.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.05321/1.868, allocations: 5.285 MB / 1.098 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02325/1.891, allocations: 1.449 MB / 1.099 GB, free: 77.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.577e-05/1.891, allocations: 6.781 kB / 1.099 GB, free: 77.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008019/1.892, allocations: 176.4 kB / 1.1 GB, free: 77.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/1.892, allocations: 1.156 kB / 1.1 GB, free: 77.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.892, allocations: 1.875 kB / 1.1 GB, free: 77.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0543/1.946, allocations: 5.43 MB / 1.105 GB, free: 74.56 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/1.948, allocations: 0.5699 MB / 1.105 GB, free: 74.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006384/1.949, allocations: 6.062 kB / 1.105 GB, free: 74.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02143/1.97, allocations: 1.081 MB / 1.106 GB, free: 73.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/1.97, allocations: 42.41 kB / 1.107 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008758/1.971, allocations: 177.5 kB / 1.107 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003528/1.972, allocations: 235.3 kB / 1.107 GB, free: 73.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.51e-07/1.972, allocations: 6.031 kB / 1.107 GB, free: 73.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003922/1.976, allocations: 0.5824 MB / 1.108 GB, free: 73.36 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.05447/2.03, allocations: 6.045 MB / 1.113 GB, free: 69.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.09221/2.122, allocations: 9.667 MB / 1.123 GB, free: 59.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/2.122, allocations: 0 / 1.123 GB, free: 59.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.02613/2.149, allocations: 2.736 MB / 1.126 GB, free: 56.97 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/2.15, allocations: 85.12 kB / 1.126 GB, free: 56.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1288/2.279, allocations: 15.63 MB / 1.141 GB, free: 41.22 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/2.279, allocations: 0.7962 MB / 1.142 GB, free: 40.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.01859/2.298, allocations: 1.644 MB / 1.143 GB, free: 38.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0049/2.303, allocations: 0.5919 MB / 1.144 GB, free: 38.16 MB / 0.6823 GB Notification: Performance of SimCode: time 2.234e-06/2.303, allocations: 0 / 1.144 GB, free: 38.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1967/2.5, allocations: 82.74 MB / 1.225 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003231/2.5, allocations: 214.9 kB / 1.225 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/14.65, allocations: 0 / 1.225 GB, free: 3.102 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)