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.355/2.355, allocations: 284.7 MB / 297.2 MB, free: 6.402 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.001393/0.001392, allocations: 176.9 kB / 365.6 MB, free: 2.645 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.018/2.018, allocations: 205.1 MB / 0.624 GB, free: 8.258 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001132, allocations: 99.3 kB / 0.7371 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.652e-05, allocations: 8 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7783/0.7784, allocations: 115.2 MB / 0.9699 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2473/1.026, allocations: 145.8 MB / 1.112 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/1.026, allocations: 93.89 kB / 1.112 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.07585/1.102, allocations: 16.1 MB / 1.128 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.034e-06/1.102, allocations: 0 / 1.128 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.485e-05/1.102, allocations: 11.98 kB / 1.128 GB, free: 6.52 MB / 0.7292 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.001392/1.104, allocations: 0.6423 MB / 1.129 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.104, allocations: 8.031 kB / 1.129 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/1.104, allocations: 62.53 kB / 1.129 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1958/1.3, allocations: 11.06 MB / 1.14 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02937/1.329, allocations: 2.501 MB / 1.142 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-05/1.329, allocations: 20.56 kB / 1.142 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000631/1.33, allocations: 24 kB / 1.142 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/1.332, allocations: 0.9683 MB / 1.143 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/1.333, allocations: 224 / 1.143 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/1.333, allocations: 8.75 kB / 1.143 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/1.333, allocations: 11.94 kB / 1.143 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/1.335, allocations: 0.7051 MB / 1.144 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009845/1.345, allocations: 5.473 MB / 1.149 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/1.347, allocations: 0.6821 MB / 1.15 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/1.348, allocations: 0.5294 MB / 1.15 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/1.348, allocations: 31.98 kB / 1.15 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/1.349, allocations: 42.56 kB / 1.15 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 3.948e-06/1.349, allocations: 0 / 1.15 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of matching and sorting (n=22): time 0.004182/1.353, allocations: 1.111 MB / 1.152 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/1.353, allocations: 51.41 kB / 1.152 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/1.353, allocations: 283.6 kB / 1.152 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004024/1.354, allocations: 37.64 kB / 1.152 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/1.354, allocations: 204.2 kB / 1.152 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/1.354, allocations: 70.91 kB / 1.152 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000356/1.355, allocations: 8 kB / 1.152 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.355, allocations: 342.8 kB / 1.152 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003259/1.358, allocations: 1.062 MB / 1.153 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003306/1.362, allocations: 1.123 MB / 1.155 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/1.364, allocations: 0.9108 MB / 1.155 GB, free: 9.332 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.364, allocations: 0 / 1.155 GB, free: 9.332 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.007732/1.372, allocations: 2.231 MB / 1.158 GB, free: 7.094 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/1.372, allocations: 182 kB / 1.158 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006302/1.379, allocations: 1.877 MB / 1.16 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/1.379, allocations: 4 kB / 1.16 GB, free: 5.02 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01706/1.396, allocations: 0.952 MB / 1.161 GB, free: 4.066 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/1.396, allocations: 4 kB / 1.161 GB, free: 4.062 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01607/1.412, allocations: 0.8034 MB / 1.161 GB, free: 3.258 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005811/1.413, allocations: 71.89 kB / 1.161 GB, free: 3.188 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.413, allocations: 6.031 kB / 1.161 GB, free: 3.184 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007732/1.42, allocations: 2.171 MB / 1.164 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006299/1.427, allocations: 1.872 MB / 1.165 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/1.427, allocations: 11.94 kB / 1.165 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01707/1.444, allocations: 0.9411 MB / 1.166 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/1.444, allocations: 7.891 kB / 1.166 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01587/1.46, allocations: 0.7958 MB / 1.167 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005805/1.46, allocations: 75.88 kB / 1.167 GB, free: 13.3 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0005548/1.461, allocations: 116.9 kB / 1.167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/1.461, allocations: 31.62 kB / 1.167 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006809/1.468, allocations: 1.362 MB / 1.169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/1.468, allocations: 4 kB / 1.169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.468, allocations: 0 / 1.169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/1.468, allocations: 3.953 kB / 1.169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/1.47, allocations: 1.078 MB / 1.17 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002359/1.472, allocations: 0.7671 MB / 1.17 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005418/1.478, allocations: 323.7 kB / 1.171 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/1.478, allocations: 8 kB / 1.171 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/1.478, allocations: 27.95 kB / 1.171 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-05/1.478, allocations: 10.39 kB / 1.171 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.478, allocations: 2.344 kB / 1.171 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/1.481, allocations: 0.9009 MB / 1.172 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005947/1.481, allocations: 235.8 kB / 1.172 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/1.482, allocations: 4 kB / 1.172 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00498/1.487, allocations: 255.7 kB / 1.172 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.487, allocations: 31.78 kB / 1.172 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/1.487, allocations: 27.95 kB / 1.172 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004033/1.487, allocations: 226.2 kB / 1.172 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.51e-07/1.487, allocations: 0 / 1.172 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002241/1.49, allocations: 371.6 kB / 1.173 GB, free: 7.434 MB / 0.7761 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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.003435/1.493, allocations: 1.54 MB / 1.174 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.008195/1.501, allocations: 2.41 MB / 1.177 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.501, allocations: 0 / 1.177 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/1.503, allocations: 419.8 kB / 1.177 GB, free: 3.051 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007748/1.503, allocations: 75.88 kB / 1.177 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/1.506, allocations: 0.7695 MB / 1.178 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/1.507, allocations: 0.8044 MB / 1.179 GB, free: 1.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.007828/1.515, allocations: 0.7149 MB / 1.179 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/1.516, allocations: 231.2 kB / 1.18 GB, free: 464 kB / 0.7761 GB Notification: Performance of SimCode: time 1.703e-06/1.517, allocations: 0 / 1.18 GB, free: 464 kB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/1.629, allocations: 41.85 MB / 1.22 GB, free: 6.75 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003297/1.63, allocations: 174.2 kB / 1.221 GB, free: 6.527 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.279/7.909, allocations: 4 kB / 1.221 GB, free: 6.523 MB / 0.823 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)