Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.879/1.879, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001302/0.001302, allocations: 189.8 kB / 377.1 MB, free: 1.535 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.95/1.95, allocations: 205.4 MB / 0.6366 GB, free: 8.629 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.0008634/0.0008632, allocations: 94.2 kB / 0.7509 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.000379, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3068, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.764/1.071, allocations: 145.7 MB / 1.131 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/1.071, allocations: 92.12 kB / 1.131 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02991/1.101, allocations: 10.14 MB / 1.141 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.675e-06/1.101, allocations: 0 / 1.141 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.311e-05/1.101, allocations: 8 kB / 1.141 GB, free: 23.11 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001383/1.103, allocations: 0.7613 MB / 1.141 GB, free: 22.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/1.103, allocations: 12.02 kB / 1.141 GB, free: 22.36 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/1.103, allocations: 81.86 kB / 1.142 GB, free: 22.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.747e-05/1.103, allocations: 60.53 kB / 1.142 GB, free: 22.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/1.103, allocations: 346.7 kB / 1.142 GB, free: 21.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/1.103, allocations: 41 kB / 1.142 GB, free: 21.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-05/1.103, allocations: 40 kB / 1.142 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000744/1.104, allocations: 396 kB / 1.142 GB, free: 21.47 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/1.104, allocations: 0.75 kB / 1.142 GB, free: 21.47 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/1.104, allocations: 16 kB / 1.142 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/1.104, allocations: 12 kB / 1.142 GB, free: 21.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006168/1.105, allocations: 339.8 kB / 1.143 GB, free: 21.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/1.107, allocations: 1.301 MB / 1.144 GB, free: 20.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007325/1.108, allocations: 402.7 kB / 1.144 GB, free: 19.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-05/1.108, allocations: 4.516 kB / 1.144 GB, free: 19.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/1.108, allocations: 39.27 kB / 1.144 GB, free: 19.65 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 1.443e-06/1.108, allocations: 0 / 1.144 GB, free: 19.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.006872/1.115, allocations: 1.692 MB / 1.146 GB, free: 18.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/1.115, allocations: 59.88 kB / 1.146 GB, free: 18.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/1.115, allocations: 313.9 kB / 1.146 GB, free: 18.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/1.116, allocations: 29.7 kB / 1.146 GB, free: 18.03 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/1.116, allocations: 217.2 kB / 1.147 GB, free: 17.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/1.116, allocations: 142.1 kB / 1.147 GB, free: 17.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/1.116, allocations: 4 kB / 1.147 GB, free: 17.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.116, allocations: 347.3 kB / 1.147 GB, free: 17.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/1.116, allocations: 138 kB / 1.147 GB, free: 17.25 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/1.117, allocations: 215.8 kB / 1.147 GB, free: 17.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/1.117, allocations: 163.2 kB / 1.148 GB, free: 16.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.117, allocations: 0 / 1.148 GB, free: 16.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001842/1.119, allocations: 0.719 MB / 1.148 GB, free: 16.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/1.119, allocations: 93 kB / 1.148 GB, free: 16.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/1.119, allocations: 4.609 kB / 1.148 GB, free: 16.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/1.12, allocations: 421.1 kB / 1.149 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/1.121, allocations: 25.81 kB / 1.149 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/1.122, allocations: 1.071 MB / 1.15 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/1.122, allocations: 49.42 kB / 1.15 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/1.122, allocations: 12.81 kB / 1.15 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/1.122, allocations: 4 kB / 1.15 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001834/1.124, allocations: 0.6688 MB / 1.151 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/1.124, allocations: 0.6562 kB / 1.151 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/1.126, allocations: 432.9 kB / 1.151 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/1.126, allocations: 30.61 kB / 1.151 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005021/1.131, allocations: 3.797 MB / 1.155 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/1.131, allocations: 51.78 kB / 1.155 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/1.131, allocations: 12 kB / 1.155 GB, free: 10.2 MB / 0.7292 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 () * Number of clocked 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.0002823/1.132, allocations: 223.6 kB / 1.155 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/1.132, allocations: 43.48 kB / 1.155 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/1.132, allocations: 61.52 kB / 1.155 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.132, allocations: 5.25 kB / 1.155 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.132, allocations: 0 / 1.155 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/1.132, allocations: 7.703 kB / 1.155 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/1.133, allocations: 0.4902 MB / 1.156 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.133, allocations: 0 / 1.156 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/1.133, allocations: 33.61 kB / 1.156 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/1.134, allocations: 406.7 kB / 1.156 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/1.134, allocations: 4 kB / 1.156 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004971/1.139, allocations: 3.763 MB / 1.16 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.139, allocations: 0.9375 kB / 1.16 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/1.141, allocations: 0.8181 MB / 1.161 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/1.141, allocations: 149.3 kB / 1.161 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/1.141, allocations: 6.688 kB / 1.161 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/1.141, allocations: 18.72 kB / 1.161 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/1.142, allocations: 42 kB / 1.161 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/1.142, allocations: 12 kB / 1.161 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002583/1.142, allocations: 252.5 kB / 1.161 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.51e-07/1.142, allocations: 0 / 1.161 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008315/1.143, allocations: 283.4 kB / 1.161 GB, free: 4.102 MB / 0.7292 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 () * Number of clocked 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.002028/1.145, allocations: 1.367 MB / 1.163 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002273/1.147, allocations: 0.9507 MB / 1.164 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.147, allocations: 0 / 1.164 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009736/1.148, allocations: 0.5074 MB / 1.164 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/1.149, allocations: 116.5 kB / 1.164 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/1.154, allocations: 2.721 MB / 1.167 GB, free: 15 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/1.154, allocations: 0.8505 MB / 1.168 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002381/1.154, allocations: 34.84 kB / 1.168 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/1.155, allocations: 135.9 kB / 1.168 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of SimCode: time 1.734e-06/1.155, allocations: 0 / 1.168 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0339/1.189, allocations: 14.43 MB / 1.182 GB, free: 68 kB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/1.189, allocations: 239.9 kB / 1.182 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/3.669, allocations: 0 / 1.182 GB, free: 15.81 MB / 0.7605 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)