Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.00114/0.00114, allocations: 180.9 kB / 361.4 MB, free: 6.812 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.754/1.754, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008956/0.0008955, allocations: 97.69 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.577e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7983/0.7984, allocations: 115.3 MB / 0.9645 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2166/1.015, allocations: 153.5 MB / 1.114 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/1.015, allocations: 93.52 kB / 1.114 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.09753/1.113, allocations: 33.6 MB / 1.147 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.873e-06/1.113, allocations: 0 / 1.147 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001292/1.113, allocations: 24 kB / 1.147 GB, free: 0.5391 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.003783/1.117, allocations: 1.426 MB / 1.149 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/1.117, allocations: 8.031 kB / 1.149 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03054/1.148, allocations: 4.43 MB / 1.153 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00422/1.152, allocations: 1.449 MB / 1.154 GB, free: 9.113 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/1.152, allocations: 20 kB / 1.154 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007412/1.153, allocations: 48 kB / 1.154 GB, free: 9.047 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003521/1.156, allocations: 1.79 MB / 1.156 GB, free: 7.258 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003554/1.16, allocations: 1.799 MB / 1.158 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/1.16, allocations: 1.406 kB / 1.158 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/1.16, allocations: 0 / 1.158 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/1.16, allocations: 16 kB / 1.158 GB, free: 5.438 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/1.173, allocations: 8.06 MB / 1.166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/1.176, allocations: 1.716 MB / 1.168 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/1.178, allocations: 1.44 MB / 1.169 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/1.178, allocations: 52.52 kB / 1.169 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/1.178, allocations: 35.12 kB / 1.169 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 2.836e-06/1.178, allocations: 0 / 1.169 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.01271/1.191, allocations: 5.545 MB / 1.174 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/1.191, allocations: 59.97 kB / 1.175 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/1.193, allocations: 1.026 MB / 1.176 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000359/1.193, allocations: 25.7 kB / 1.176 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/1.194, allocations: 476.3 kB / 1.176 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/1.194, allocations: 236.5 kB / 1.176 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/1.195, allocations: 1.781 kB / 1.176 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.195, allocations: 333.9 kB / 1.177 GB, free: 1.613 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/1.198, allocations: 2.078 MB / 1.179 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002978/1.201, allocations: 2.229 MB / 1.181 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/1.213, allocations: 4.448 MB / 1.185 GB, free: 8.809 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.213, allocations: 0 / 1.185 GB, free: 8.809 MB / 0.7917 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.01987/1.233, allocations: 8.166 MB / 1.193 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/1.233, allocations: 105.3 kB / 1.193 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01833/1.252, allocations: 7.211 MB / 1.2 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02801/1.28, allocations: 5.427 MB / 1.206 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005498/1.285, allocations: 0.7957 MB / 1.206 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/1.296, allocations: 5.249 MB / 1.211 GB, free: 13.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007734/1.304, allocations: 0.9981 MB / 1.212 GB, free: 12.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004449/1.304, allocations: 59.92 kB / 1.212 GB, free: 12.74 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.304, allocations: 4 kB / 1.212 GB, free: 12.73 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01939/1.324, allocations: 7.477 MB / 1.22 GB, free: 5.242 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01808/1.342, allocations: 6.974 MB / 1.227 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003451/1.345, allocations: 1.012 MB / 1.228 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007125/1.352, allocations: 1.061 MB / 1.229 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/1.365, allocations: 6.994 MB / 1.235 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007811/1.373, allocations: 0.9942 MB / 1.236 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004419/1.373, allocations: 63.92 kB / 1.236 GB, free: 4.012 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.0006476/1.374, allocations: 108.9 kB / 1.237 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01214/1.386, allocations: 5.428 MB / 1.242 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004476/1.387, allocations: 102.7 kB / 1.242 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/1.397, allocations: 4.731 MB / 1.247 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/1.397, allocations: 8 kB / 1.247 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/1.397, allocations: 0 / 1.247 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/1.397, allocations: 3.984 kB / 1.247 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/1.409, allocations: 6.862 MB / 1.253 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.5777/1.987, allocations: 7.812 MB / 1.261 GB, free: 237.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002588/1.989, allocations: 421.6 kB / 1.261 GB, free: 237.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04205/2.031, allocations: 7.434 MB / 1.269 GB, free: 237.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003057/2.032, allocations: 33.98 kB / 1.269 GB, free: 237.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009349/2.041, allocations: 4.134 MB / 1.273 GB, free: 237.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.451e-05/2.041, allocations: 1.281 kB / 1.273 GB, free: 237.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04582/2.087, allocations: 8.038 MB / 1.281 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/2.089, allocations: 0.5493 MB / 1.281 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006473/2.089, allocations: 5.516 kB / 1.281 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005176/2.094, allocations: 0.6188 MB / 1.282 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/2.095, allocations: 45.56 kB / 1.282 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002133/2.095, allocations: 44.81 kB / 1.282 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001574/2.097, allocations: 0.7844 MB / 1.283 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.61e-07/2.097, allocations: 0 / 1.283 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003592/2.1, allocations: 0.7619 MB / 1.283 GB, free: 236.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.009693/2.11, allocations: 4.69 MB / 1.288 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01155/2.121, allocations: 5.969 MB / 1.294 GB, free: 232.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/2.122, allocations: 0 / 1.294 GB, free: 232.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003195/2.125, allocations: 1.506 MB / 1.295 GB, free: 232.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/2.126, allocations: 220 kB / 1.295 GB, free: 232 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007415/2.134, allocations: 2.971 MB / 1.298 GB, free: 230.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/2.135, allocations: 1.327 MB / 1.3 GB, free: 230.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004288/2.139, allocations: 0.968 MB / 1.3 GB, free: 229.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009943/2.14, allocations: 434.6 kB / 1.301 GB, free: 229.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.032e-06/2.14, allocations: 0 / 1.301 GB, free: 229.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/2.248, allocations: 72.14 MB / 1.371 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/2.249, allocations: 164.8 kB / 1.372 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.101/7.349, allocations: 0 / 1.372 GB, free: 176.5 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1)