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.652/1.652, allocations: 289.7 MB / 302.3 MB, free: 2.145 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.001085/0.001085, allocations: 184.5 kB / 371.6 MB, free: 3.348 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.854/1.854, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009668/0.0009668, allocations: 93.92 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.088e-05/4.091e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2947, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.924/1.219, allocations: 145.6 MB / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/1.219, allocations: 85.08 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02754/1.247, allocations: 10.14 MB / 1.132 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.773e-06/1.247, allocations: 0 / 1.132 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.282e-05/1.247, allocations: 16 kB / 1.132 GB, free: 33.88 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001057/1.248, allocations: 0.693 MB / 1.133 GB, free: 33.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/1.248, allocations: 12.03 kB / 1.133 GB, free: 33.23 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.736e-05/1.248, allocations: 80.38 kB / 1.133 GB, free: 33.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.488e-05/1.248, allocations: 58.62 kB / 1.133 GB, free: 33.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/1.248, allocations: 346.8 kB / 1.133 GB, free: 32.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/1.248, allocations: 35.38 kB / 1.133 GB, free: 32.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/1.249, allocations: 42.56 kB / 1.133 GB, free: 32.76 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005925/1.249, allocations: 373.5 kB / 1.134 GB, free: 32.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/1.249, allocations: 3.562 kB / 1.134 GB, free: 32.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/1.249, allocations: 15 kB / 1.134 GB, free: 32.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/1.249, allocations: 8 kB / 1.134 GB, free: 32.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/1.25, allocations: 304 kB / 1.134 GB, free: 32.35 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/1.252, allocations: 1.302 MB / 1.135 GB, free: 31.54 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/1.252, allocations: 377.8 kB / 1.136 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/1.253, allocations: 215.2 kB / 1.136 GB, free: 31.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.128e-05/1.253, allocations: 4 kB / 1.136 GB, free: 31.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/1.253, allocations: 38.75 kB / 1.136 GB, free: 31.13 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=41): time 1.994e-06/1.253, allocations: 0 / 1.136 GB, free: 31.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=41): time 0.001693/1.254, allocations: 0.6699 MB / 1.137 GB, free: 30.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/1.254, allocations: 59.36 kB / 1.137 GB, free: 30.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/1.255, allocations: 302 kB / 1.137 GB, free: 30.42 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/1.255, allocations: 37.55 kB / 1.137 GB, free: 30.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/1.255, allocations: 215.9 kB / 1.137 GB, free: 30.24 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.431e-05/1.255, allocations: 142.6 kB / 1.137 GB, free: 30.13 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/1.255, allocations: 7.625 kB / 1.137 GB, free: 30.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/1.255, allocations: 345.3 kB / 1.138 GB, free: 29.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/1.255, allocations: 115.9 kB / 1.138 GB, free: 29.74 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/1.256, allocations: 190.2 kB / 1.138 GB, free: 29.6 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/1.256, allocations: 139.4 kB / 1.138 GB, free: 29.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.256, allocations: 0 / 1.138 GB, free: 29.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001565/1.257, allocations: 0.6835 MB / 1.139 GB, free: 29.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/1.257, allocations: 91.44 kB / 1.139 GB, free: 29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.936e-05/1.257, allocations: 0 / 1.139 GB, free: 29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/1.259, allocations: 418.4 kB / 1.139 GB, free: 28.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/1.259, allocations: 38.64 kB / 1.139 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/1.26, allocations: 1.053 MB / 1.14 GB, free: 27.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/1.261, allocations: 48.02 kB / 1.14 GB, free: 27.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/1.261, allocations: 11.38 kB / 1.14 GB, free: 27.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.261, allocations: 4 kB / 1.14 GB, free: 27.82 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001585/1.263, allocations: 0.6326 MB / 1.141 GB, free: 27.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/1.263, allocations: 3.938 kB / 1.141 GB, free: 27.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/1.264, allocations: 433.5 kB / 1.141 GB, free: 27.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/1.264, allocations: 27.52 kB / 1.141 GB, free: 27.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005048/1.269, allocations: 3.654 MB / 1.145 GB, free: 24.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/1.27, allocations: 56.23 kB / 1.145 GB, free: 24.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/1.27, allocations: 12.66 kB / 1.145 GB, free: 24.55 MB / 0.7448 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.0001289/1.27, allocations: 115.5 kB / 1.145 GB, free: 24.44 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/1.27, allocations: 44 kB / 1.145 GB, free: 24.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/1.27, allocations: 58.02 kB / 1.145 GB, free: 24.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.27, allocations: 8.562 kB / 1.145 GB, free: 24.37 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/1.27, allocations: 0.5625 kB / 1.145 GB, free: 24.37 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/1.27, allocations: 3.734 kB / 1.145 GB, free: 24.37 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/1.271, allocations: 0.5002 MB / 1.146 GB, free: 24.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.271, allocations: 0 / 1.146 GB, free: 24.03 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/1.271, allocations: 28.86 kB / 1.146 GB, free: 24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/1.273, allocations: 403 kB / 1.146 GB, free: 23.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/1.273, allocations: 7.781 kB / 1.146 GB, free: 23.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005079/1.278, allocations: 3.627 MB / 1.15 GB, free: 21.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.278, allocations: 0.6562 kB / 1.15 GB, free: 21.21 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/1.279, allocations: 0.7751 MB / 1.15 GB, free: 20.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/1.28, allocations: 150 kB / 1.151 GB, free: 20.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/1.28, allocations: 3.984 kB / 1.151 GB, free: 20.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/1.28, allocations: 28.8 kB / 1.151 GB, free: 20.53 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/1.28, allocations: 36.7 kB / 1.151 GB, free: 20.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/1.28, allocations: 15.06 kB / 1.151 GB, free: 20.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002882/1.281, allocations: 242.5 kB / 1.151 GB, free: 20.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/1.281, allocations: 0 / 1.151 GB, free: 20.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008494/1.281, allocations: 279 kB / 1.151 GB, free: 20.07 MB / 0.7448 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.002085/1.284, allocations: 1.332 MB / 1.152 GB, free: 18.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002396/1.286, allocations: 0.9002 MB / 1.153 GB, free: 18.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.286, allocations: 0 / 1.153 GB, free: 18.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/1.287, allocations: 498 kB / 1.154 GB, free: 18.01 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/1.288, allocations: 112.6 kB / 1.154 GB, free: 17.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/1.29, allocations: 0.6461 MB / 1.155 GB, free: 17.42 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/1.29, allocations: 0.8403 MB / 1.155 GB, free: 16.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003385/1.29, allocations: 51.62 kB / 1.155 GB, free: 16.58 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/1.291, allocations: 127 kB / 1.156 GB, free: 16.56 MB / 0.7448 GB Notification: Performance of SimCode: time 1.723e-06/1.291, allocations: 0 / 1.156 GB, free: 16.56 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03843/1.329, allocations: 14.82 MB / 1.17 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/1.329, allocations: 200.8 kB / 1.17 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/3.901, allocations: 4 kB / 1.17 GB, free: 7.742 MB / 0.7448 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)