Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.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.GlassLayer,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",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.332/2.332, allocations: 248.7 MB / 256.2 MB, free: 7.066 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.001491/0.001491, allocations: 180.3 kB / 315.4 MB, free: 3.988 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.141/2.141, allocations: 205.3 MB / 0.5662 GB, free: 0.5742 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.001071/0.00107, allocations: 99.48 kB / 0.6704 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.673e-05/2.681e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2165, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.902/1.118, allocations: 138.4 MB / 1.019 GB, free: 440 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/1.119, allocations: 80.27 kB / 1.019 GB, free: 396 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0487/1.168, allocations: 10.07 MB / 1.029 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.144e-06/1.168, allocations: 4 kB / 1.029 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.88e-05/1.168, allocations: 16 kB / 1.029 GB, free: 7.84 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001911/1.17, allocations: 0.6985 MB / 1.03 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/1.17, allocations: 11.97 kB / 1.03 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/1.17, allocations: 59.34 kB / 1.03 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007892/1.171, allocations: 341 kB / 1.03 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/1.171, allocations: 16 kB / 1.03 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/1.171, allocations: 27.94 kB / 1.03 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008747/1.172, allocations: 285.6 kB / 1.031 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008619/1.173, allocations: 317.9 kB / 1.031 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/1.173, allocations: 0 / 1.031 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/1.173, allocations: 3.953 kB / 1.031 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/1.173, allocations: 12 kB / 1.031 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/1.176, allocations: 1.193 MB / 1.032 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009968/1.178, allocations: 369.3 kB / 1.032 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/1.178, allocations: 209.7 kB / 1.033 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.354e-05/1.178, allocations: 4 kB / 1.033 GB, free: 4.906 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.178, allocations: 42.38 kB / 1.033 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 3.516e-06/1.178, allocations: 3.938 kB / 1.033 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.003218/1.181, allocations: 0.6462 MB / 1.033 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/1.182, allocations: 59.19 kB / 1.033 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/1.182, allocations: 232 kB / 1.034 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/1.182, allocations: 25.7 kB / 1.034 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/1.182, allocations: 223.8 kB / 1.034 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/1.182, allocations: 139.6 kB / 1.034 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/1.182, allocations: 0 / 1.034 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001877/1.183, allocations: 336.2 kB / 1.034 GB, free: 3.422 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/1.183, allocations: 114.7 kB / 1.034 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004047/1.183, allocations: 185.1 kB / 1.035 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/1.184, allocations: 144.1 kB / 1.035 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.184, allocations: 0 / 1.035 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003141/1.187, allocations: 0.6433 MB / 1.035 GB, free: 2.609 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.575e-05/1.187, allocations: 105.3 kB / 1.035 GB, free: 2.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.609e-06/1.187, allocations: 0 / 1.035 GB, free: 2.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002904/1.19, allocations: 396 kB / 1.036 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/1.19, allocations: 35.92 kB / 1.036 GB, free: 2.137 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/1.193, allocations: 1.089 MB / 1.037 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008379/1.194, allocations: 39.72 kB / 1.037 GB, free: 1.203 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/1.194, allocations: 11.69 kB / 1.037 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.194, allocations: 4 kB / 1.037 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002828/1.196, allocations: 0.5774 MB / 1.038 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/1.196, allocations: 3.984 kB / 1.038 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00278/1.199, allocations: 407.2 kB / 1.038 GB, free: 416 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/1.2, allocations: 35.91 kB / 1.038 GB, free: 380 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008774/1.208, allocations: 3.556 MB / 1.041 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000814/1.209, allocations: 31.77 kB / 1.041 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/1.209, allocations: 11.12 kB / 1.041 GB, free: 13.52 MB / 0.6667 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 (12): * Single equations (assignments): 11 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0001738/1.21, allocations: 113.6 kB / 1.042 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002793/1.212, allocations: 0.6237 MB / 1.042 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/1.213, allocations: 43.52 kB / 1.042 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/1.213, allocations: 49.66 kB / 1.042 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.213, allocations: 4 kB / 1.042 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/1.213, allocations: 0 / 1.042 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/1.213, allocations: 3.984 kB / 1.042 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008329/1.214, allocations: 429.3 kB / 1.043 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/1.214, allocations: 0 / 1.043 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/1.214, allocations: 27.92 kB / 1.043 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002601/1.216, allocations: 388.4 kB / 1.043 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.075e-05/1.217, allocations: 7.891 kB / 1.043 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008686/1.225, allocations: 3.531 MB / 1.047 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.225, allocations: 0 / 1.047 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/1.228, allocations: 0.7312 MB / 1.047 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003933/1.229, allocations: 148.3 kB / 1.047 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.783e-05/1.229, allocations: 0 / 1.047 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/1.229, allocations: 15.98 kB / 1.047 GB, free: 8.562 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/1.23, allocations: 35.25 kB / 1.047 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/1.23, allocations: 11.38 kB / 1.047 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003097/1.23, allocations: 183.1 kB / 1.048 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.21e-07/1.23, allocations: 0 / 1.048 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001367/1.231, allocations: 271.2 kB / 1.048 GB, free: 8.113 MB / 0.6667 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 (10): * Single equations (assignments): 9 * 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 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.003498/1.235, allocations: 1.279 MB / 1.049 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003621/1.239, allocations: 0.8826 MB / 1.05 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.239, allocations: 0 / 1.05 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/1.24, allocations: 459 kB / 1.05 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008481/1.241, allocations: 73.47 kB / 1.051 GB, free: 5.84 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/1.243, allocations: 0.6136 MB / 1.051 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/1.244, allocations: 0.8401 MB / 1.052 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003634/1.244, allocations: 43.28 kB / 1.052 GB, free: 4.336 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/1.245, allocations: 122.2 kB / 1.052 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of SimCode: time 1.102e-06/1.245, allocations: 0 / 1.052 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06323/1.308, allocations: 12.84 MB / 1.065 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002888/1.308, allocations: 161.7 kB / 1.065 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.859/4.167, allocations: 0 / 1.065 GB, free: 7.371 MB / 0.6823 GB