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.391/1.391, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 180.8 kB / 326.5 MB, free: 2.227 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.176/2.176, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009332/0.0009332, allocations: 82.38 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003458, allocations: 13.09 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2222, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1884/0.4106, allocations: 138.4 MB / 1.035 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.4109, allocations: 87.94 kB / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02982/0.4408, allocations: 10.15 MB / 1.045 GB, free: 10.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4408, allocations: 0 / 1.045 GB, free: 10.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.563e-05/0.4409, allocations: 15.94 kB / 1.045 GB, free: 10.89 MB / 0.698 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.001357/0.4422, allocations: 0.756 MB / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.4423, allocations: 12.03 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.65e-05/0.4424, allocations: 74.53 kB / 1.046 GB, free: 9.992 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.855e-05/0.4425, allocations: 59.3 kB / 1.046 GB, free: 9.934 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.443, allocations: 347 kB / 1.047 GB, free: 9.555 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.443, allocations: 33 kB / 1.047 GB, free: 9.523 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.185e-05/0.4431, allocations: 48 kB / 1.047 GB, free: 9.477 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007324/0.4439, allocations: 394.4 kB / 1.047 GB, free: 9.086 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4439, allocations: 0 / 1.047 GB, free: 9.086 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.4439, allocations: 16 kB / 1.047 GB, free: 9.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.4439, allocations: 19.89 kB / 1.047 GB, free: 9.051 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006503/0.4446, allocations: 351.8 kB / 1.047 GB, free: 8.703 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.4469, allocations: 1.292 MB / 1.049 GB, free: 7.359 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.4477, allocations: 403.2 kB / 1.049 GB, free: 6.953 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.967e-05/0.4477, allocations: 8 kB / 1.049 GB, free: 6.945 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.4478, allocations: 30.56 kB / 1.049 GB, free: 6.906 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 1.904e-06/0.4478, allocations: 0 / 1.049 GB, free: 6.906 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.006907/0.4547, allocations: 1.708 MB / 1.051 GB, free: 5.168 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.4548, allocations: 59.41 kB / 1.051 GB, free: 5.098 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.4552, allocations: 304.9 kB / 1.051 GB, free: 4.793 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/0.4552, allocations: 37.7 kB / 1.051 GB, free: 4.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.4554, allocations: 216.6 kB / 1.051 GB, free: 4.535 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.4555, allocations: 130 kB / 1.051 GB, free: 4.406 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.4555, allocations: 15.94 kB / 1.051 GB, free: 4.391 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4557, allocations: 346.8 kB / 1.052 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.456, allocations: 143.9 kB / 1.052 GB, free: 3.902 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.4563, allocations: 209.9 kB / 1.052 GB, free: 3.676 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.4566, allocations: 156.6 kB / 1.052 GB, free: 3.523 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4566, allocations: 0 / 1.052 GB, free: 3.523 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001933/0.4586, allocations: 0.7119 MB / 1.053 GB, free: 2.801 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/0.4586, allocations: 93 kB / 1.053 GB, free: 2.703 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4587, allocations: 4 kB / 1.053 GB, free: 2.699 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.4604, allocations: 428.9 kB / 1.053 GB, free: 2.277 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.4606, allocations: 27.98 kB / 1.053 GB, free: 2.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.462, allocations: 1.057 MB / 1.055 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/0.4625, allocations: 55.64 kB / 1.055 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.4626, allocations: 11.98 kB / 1.055 GB, free: 1.102 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4626, allocations: 6.188 kB / 1.055 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001944/0.4646, allocations: 0.6798 MB / 1.055 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.4646, allocations: 0 / 1.055 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.4662, allocations: 420.7 kB / 1.056 GB, free: 0 / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.454/0.9202, allocations: 25.78 kB / 1.056 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005492/0.9257, allocations: 3.784 MB / 1.059 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005082/0.9263, allocations: 52.81 kB / 1.059 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.9263, allocations: 9.531 kB / 1.059 GB, free: 147.2 MB / 0.698 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.0002447/0.9266, allocations: 236.9 kB / 1.06 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.9266, allocations: 39.62 kB / 1.06 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.9268, allocations: 60.02 kB / 1.06 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.9268, allocations: 9.328 kB / 1.06 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.9268, allocations: 0 / 1.06 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.9268, allocations: 3.844 kB / 1.06 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.9273, allocations: 496.4 kB / 1.06 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.9273, allocations: 0 / 1.06 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.9274, allocations: 28.86 kB / 1.06 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.9289, allocations: 403 kB / 1.061 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.9289, allocations: 3.625 kB / 1.061 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/0.9341, allocations: 3.776 MB / 1.064 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9341, allocations: 0 / 1.064 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.936, allocations: 0.8104 MB / 1.065 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.9362, allocations: 146.2 kB / 1.065 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.9362, allocations: 10.55 kB / 1.065 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.9365, allocations: 27.14 kB / 1.065 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.9367, allocations: 41.47 kB / 1.065 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.9367, allocations: 11.42 kB / 1.065 GB, free: 145.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002719/0.937, allocations: 247.7 kB / 1.066 GB, free: 145 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.937, allocations: 3.375 kB / 1.066 GB, free: 145 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008197/0.9378, allocations: 290.3 kB / 1.066 GB, free: 145 MB / 0.698 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.002176/0.94, allocations: 1.362 MB / 1.067 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00304/0.943, allocations: 0.9664 MB / 1.068 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9431, allocations: 0 / 1.068 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.9443, allocations: 0.4954 MB / 1.069 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006657/0.945, allocations: 111.7 kB / 1.069 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/0.9509, allocations: 2.721 MB / 1.071 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.9513, allocations: 0.8487 MB / 1.072 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002765/0.9516, allocations: 34.36 kB / 1.072 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.9518, allocations: 131.9 kB / 1.072 GB, free: 142.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/0.9518, allocations: 0 / 1.072 GB, free: 142.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.9843, allocations: 14.47 MB / 1.087 GB, free: 139.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/0.9845, allocations: 235.1 kB / 1.087 GB, free: 139.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.298, allocations: 0 / 1.087 GB, free: 139.1 MB / 0.698 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)