Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 249.5 MB / 257 MB, free: 6.934 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.001089/0.001089, allocations: 187.5 kB / 316.3 MB, free: 3.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008767/0.0008768, allocations: 86.42 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.915e-05/2.917e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.249, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8514/1.1, allocations: 138.6 MB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/1.101, allocations: 86.25 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02917/1.13, allocations: 10.07 MB / 1.031 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.395e-06/1.13, allocations: 4 kB / 1.031 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.595e-05/1.13, allocations: 16 kB / 1.031 GB, free: 6.512 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.001235/1.131, allocations: 0.6897 MB / 1.031 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/1.131, allocations: 8.031 kB / 1.031 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/1.132, allocations: 70.42 kB / 1.031 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/1.132, allocations: 345.2 kB / 1.032 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/1.132, allocations: 15.94 kB / 1.032 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/1.132, allocations: 24 kB / 1.032 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004939/1.133, allocations: 284.2 kB / 1.032 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/1.133, allocations: 313.3 kB / 1.032 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/1.133, allocations: 0 / 1.032 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/1.133, allocations: 0 / 1.032 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/1.133, allocations: 19.89 kB / 1.032 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/1.135, allocations: 1.191 MB / 1.033 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006258/1.136, allocations: 372.9 kB / 1.034 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/1.136, allocations: 212.1 kB / 1.034 GB, free: 3.586 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/1.136, allocations: 4 kB / 1.034 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/1.137, allocations: 38.44 kB / 1.034 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 3.687e-06/1.137, allocations: 0 / 1.034 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.001842/1.138, allocations: 0.6504 MB / 1.035 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/1.138, allocations: 59.41 kB / 1.035 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/1.139, allocations: 233.8 kB / 1.035 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/1.139, allocations: 25.7 kB / 1.035 GB, free: 2.723 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/1.139, allocations: 223 kB / 1.035 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/1.139, allocations: 135.1 kB / 1.035 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/1.139, allocations: 4 kB / 1.035 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.139, allocations: 341.2 kB / 1.036 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/1.139, allocations: 116.7 kB / 1.036 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/1.14, allocations: 174.9 kB / 1.036 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/1.14, allocations: 143.5 kB / 1.036 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.14, allocations: 0 / 1.036 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001693/1.142, allocations: 0.6463 MB / 1.037 GB, free: 1.285 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-05/1.142, allocations: 101 kB / 1.037 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.142, allocations: 0 / 1.037 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/1.143, allocations: 401.8 kB / 1.037 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/1.143, allocations: 31.97 kB / 1.037 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/1.145, allocations: 1.092 MB / 1.038 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/1.145, allocations: 31.81 kB / 1.038 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/1.145, allocations: 15.38 kB / 1.038 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/1.145, allocations: 4 kB / 1.038 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001578/1.147, allocations: 0.5871 MB / 1.039 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/1.147, allocations: 192 / 1.039 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/1.148, allocations: 396.4 kB / 1.039 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/1.149, allocations: 43.72 kB / 1.039 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005343/1.154, allocations: 3.554 MB / 1.043 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/1.154, allocations: 31.77 kB / 1.043 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/1.154, allocations: 7.188 kB / 1.043 GB, free: 12.2 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.0001572/1.155, allocations: 113.7 kB / 1.043 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001583/1.156, allocations: 0.6254 MB / 1.044 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/1.156, allocations: 31.62 kB / 1.044 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/1.156, allocations: 57.8 kB / 1.044 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.156, allocations: 4 kB / 1.044 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/1.156, allocations: 0 / 1.044 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.156, allocations: 3.984 kB / 1.044 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/1.157, allocations: 430 kB / 1.044 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.157, allocations: 0 / 1.044 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/1.157, allocations: 23.98 kB / 1.044 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/1.159, allocations: 392.8 kB / 1.044 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/1.159, allocations: 0 / 1.044 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005017/1.164, allocations: 3.541 MB / 1.048 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.164, allocations: 0 / 1.048 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/1.165, allocations: 0.7309 MB / 1.049 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/1.166, allocations: 147.5 kB / 1.049 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/1.166, allocations: 0 / 1.049 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/1.166, allocations: 15.98 kB / 1.049 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.166, allocations: 39.25 kB / 1.049 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/1.166, allocations: 8 kB / 1.049 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001921/1.166, allocations: 186.8 kB / 1.049 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.81e-07/1.166, allocations: 0 / 1.049 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009204/1.167, allocations: 271.2 kB / 1.049 GB, free: 6.793 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.001996/1.169, allocations: 1.272 MB / 1.051 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002274/1.171, allocations: 0.8835 MB / 1.051 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.171, allocations: 0 / 1.051 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009344/1.172, allocations: 463.2 kB / 1.052 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/1.173, allocations: 87.06 kB / 1.052 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/1.175, allocations: 0.6008 MB / 1.053 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/1.175, allocations: 0.8401 MB / 1.053 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002362/1.176, allocations: 43.27 kB / 1.053 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/1.176, allocations: 125.4 kB / 1.053 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of SimCode: time 8.11e-07/1.176, allocations: 0 / 1.053 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03701/1.213, allocations: 12.85 MB / 1.066 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/1.213, allocations: 162.5 kB / 1.066 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/3.522, allocations: 9.969 kB / 1.066 GB, free: 6.055 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)