Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.304/2.304, allocations: 248.7 MB / 256.2 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001438/0.001439, allocations: 184.5 kB / 315.4 MB, free: 4.008 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001096, allocations: 95.84 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.718e-05, allocations: 11.98 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2067, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9292/1.136, allocations: 147.7 MB / 1.028 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/1.136, allocations: 91.33 kB / 1.028 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1561/1.293, allocations: 33.31 MB / 1.061 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.635e-06/1.293, allocations: 0 / 1.061 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001182/1.293, allocations: 27.94 kB / 1.061 GB, free: 12.12 MB / 0.6823 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.004973/1.298, allocations: 1.422 MB / 1.062 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/1.298, allocations: 12.03 kB / 1.062 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06631/1.364, allocations: 4.434 MB / 1.067 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005172/1.369, allocations: 1.445 MB / 1.068 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.278e-05/1.369, allocations: 24 kB / 1.068 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006365/1.37, allocations: 44 kB / 1.068 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004779/1.375, allocations: 1.79 MB / 1.07 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005201/1.38, allocations: 1.801 MB / 1.072 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/1.38, allocations: 0 / 1.072 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/1.381, allocations: 7.938 kB / 1.072 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/1.381, allocations: 20 kB / 1.072 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02071/1.401, allocations: 8.066 MB / 1.08 GB, free: 11.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004572/1.406, allocations: 1.709 MB / 1.081 GB, free: 10.65 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003526/1.41, allocations: 1.436 MB / 1.083 GB, free: 9.738 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/1.41, allocations: 51.83 kB / 1.083 GB, free: 9.699 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/1.41, allocations: 42.48 kB / 1.083 GB, free: 9.652 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 5.561e-06/1.41, allocations: 0 / 1.083 GB, free: 9.652 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.02246/1.432, allocations: 5.54 MB / 1.088 GB, free: 5.527 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/1.433, allocations: 59.97 kB / 1.088 GB, free: 5.457 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/1.435, allocations: 1.019 MB / 1.089 GB, free: 4.574 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006304/1.436, allocations: 25.7 kB / 1.089 GB, free: 4.543 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009745/1.437, allocations: 488.2 kB / 1.09 GB, free: 4.059 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006152/1.438, allocations: 236.5 kB / 1.09 GB, free: 3.824 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/1.438, allocations: 0 / 1.09 GB, free: 3.824 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.438, allocations: 334 kB / 1.09 GB, free: 3.492 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004906/1.443, allocations: 2.067 MB / 1.092 GB, free: 1.422 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005249/1.448, allocations: 2.232 MB / 1.094 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0227/1.471, allocations: 4.452 MB / 1.099 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/1.471, allocations: 0 / 1.099 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.03314/1.504, allocations: 8.162 MB / 1.107 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.421e-05/1.504, allocations: 100.1 kB / 1.107 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0448/1.549, allocations: 7.205 MB / 1.114 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05908/1.608, allocations: 5.439 MB / 1.119 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01081/1.619, allocations: 0.7919 MB / 1.12 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/1.637, allocations: 5.249 MB / 1.125 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.015/1.652, allocations: 0.9942 MB / 1.126 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006225/1.653, allocations: 63.92 kB / 1.126 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.653, allocations: 4 kB / 1.126 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03334/1.686, allocations: 7.477 MB / 1.133 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03216/1.718, allocations: 6.97 MB / 1.14 GB, free: 140 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006107/1.724, allocations: 1.008 MB / 1.141 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01435/1.739, allocations: 1.069 MB / 1.142 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02007/1.759, allocations: 6.996 MB / 1.149 GB, free: 6.941 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01496/1.774, allocations: 0.9981 MB / 1.15 GB, free: 5.941 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000654/1.775, allocations: 63.92 kB / 1.15 GB, free: 5.879 MB / 0.7605 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.0006643/1.775, allocations: 106.6 kB / 1.15 GB, free: 5.77 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0216/1.797, allocations: 5.428 MB / 1.156 GB, free: 332 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006599/1.798, allocations: 98.69 kB / 1.156 GB, free: 232 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/1.816, allocations: 4.732 MB / 1.16 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/1.816, allocations: 8 kB / 1.16 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.817, allocations: 0 / 1.16 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-05/1.817, allocations: 3.984 kB / 1.16 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02016/1.837, allocations: 6.846 MB / 1.167 GB, free: 4.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0939/1.931, allocations: 7.855 MB / 1.175 GB, free: 12.53 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007203/1.938, allocations: 411.4 kB / 1.175 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1163/2.054, allocations: 7.443 MB / 1.182 GB, free: 4.668 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005373/2.055, allocations: 31.95 kB / 1.182 GB, free: 4.637 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02038/2.075, allocations: 4.135 MB / 1.186 GB, free: 484 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/2.075, allocations: 0 / 1.186 GB, free: 484 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1071/2.183, allocations: 8.075 MB / 1.194 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003012/2.186, allocations: 0.5423 MB / 1.195 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009071/2.187, allocations: 4 kB / 1.195 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009591/2.196, allocations: 0.6162 MB / 1.195 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/2.197, allocations: 40.72 kB / 1.195 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002746/2.197, allocations: 43.95 kB / 1.195 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001906/2.199, allocations: 0.7893 MB / 1.196 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.01e-07/2.199, allocations: 0 / 1.196 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004127/2.203, allocations: 0.7605 MB / 1.197 GB, free: 5.523 MB / 0.8073 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.01518/2.218, allocations: 4.705 MB / 1.202 GB, free: 0.7734 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0188/2.237, allocations: 5.963 MB / 1.207 GB, free: 10.79 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/2.237, allocations: 0 / 1.207 GB, free: 10.79 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005592/2.243, allocations: 1.505 MB / 1.209 GB, free: 9.285 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/2.245, allocations: 217 kB / 1.209 GB, free: 9.074 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/2.255, allocations: 2.98 MB / 1.212 GB, free: 6.039 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/2.257, allocations: 1.327 MB / 1.213 GB, free: 4.68 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.007599/2.264, allocations: 0.9628 MB / 1.214 GB, free: 3.711 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/2.266, allocations: 431.2 kB / 1.215 GB, free: 3.289 MB / 0.823 GB Notification: Performance of SimCode: time 1.703e-06/2.266, allocations: 0 / 1.215 GB, free: 3.289 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7938/3.06, allocations: 72.13 MB / 1.285 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/3.061, allocations: 160.8 kB / 1.285 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/10.24, allocations: 2.625 kB / 1.285 GB, free: 280.1 MB / 0.8542 GB