Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.76/2.76, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001527/0.001527, allocations: 180.8 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001033/0.001033, allocations: 89.58 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.639e-05/2.64e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7983/0.7984, allocations: 115.3 MB / 0.9634 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2512/1.05, allocations: 143.8 MB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/1.05, allocations: 84.2 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04915/1.099, allocations: 10.07 MB / 1.114 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.904e-06/1.099, allocations: 0 / 1.114 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.461e-05/1.099, allocations: 12 kB / 1.114 GB, free: 2.578 MB / 0.7136 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.001806/1.101, allocations: 0.7033 MB / 1.114 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.101, allocations: 8.031 kB / 1.114 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/1.101, allocations: 63.3 kB / 1.115 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000741/1.102, allocations: 335.4 kB / 1.115 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/1.102, allocations: 16 kB / 1.115 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/1.102, allocations: 24 kB / 1.115 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009023/1.103, allocations: 287.9 kB / 1.115 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008713/1.104, allocations: 319.9 kB / 1.115 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/1.104, allocations: 0 / 1.115 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/1.104, allocations: 4 kB / 1.115 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/1.104, allocations: 15.95 kB / 1.115 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/1.108, allocations: 1.198 MB / 1.117 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/1.109, allocations: 372.3 kB / 1.117 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/1.11, allocations: 208.6 kB / 1.117 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.796e-05/1.11, allocations: 11.98 kB / 1.117 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/1.11, allocations: 38.56 kB / 1.117 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 3.186e-06/1.11, allocations: 0 / 1.117 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.003229/1.113, allocations: 0.6384 MB / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.113, allocations: 59.19 kB / 1.118 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/1.113, allocations: 246.3 kB / 1.118 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.58e-05/1.114, allocations: 28.33 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/1.114, allocations: 220.2 kB / 1.118 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/1.114, allocations: 134 kB / 1.119 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/1.114, allocations: 0 / 1.119 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001842/1.114, allocations: 346.8 kB / 1.119 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/1.114, allocations: 112 kB / 1.119 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/1.115, allocations: 186.8 kB / 1.119 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/1.115, allocations: 135.9 kB / 1.119 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/1.115, allocations: 0 / 1.119 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003172/1.119, allocations: 0.6469 MB / 1.12 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.342e-05/1.119, allocations: 107.4 kB / 1.12 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/1.119, allocations: 0 / 1.12 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002893/1.122, allocations: 393 kB / 1.12 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/1.122, allocations: 36.47 kB / 1.12 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/1.124, allocations: 1.099 MB / 1.122 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008181/1.125, allocations: 35.72 kB / 1.122 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/1.125, allocations: 15.12 kB / 1.122 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/1.125, allocations: 7.938 kB / 1.122 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002896/1.128, allocations: 0.5897 MB / 1.122 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/1.128, allocations: 0 / 1.122 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/1.131, allocations: 388.8 kB / 1.123 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/1.131, allocations: 31.98 kB / 1.123 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009234/1.141, allocations: 3.56 MB / 1.126 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007988/1.141, allocations: 35.67 kB / 1.126 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/1.141, allocations: 12 kB / 1.126 GB, free: 5.609 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 () * 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.0001863/1.142, allocations: 105 kB / 1.126 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002903/1.145, allocations: 0.6222 MB / 1.127 GB, free: 4.867 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/1.145, allocations: 35.53 kB / 1.127 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/1.145, allocations: 56.45 kB / 1.127 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/1.145, allocations: 4 kB / 1.127 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/1.145, allocations: 0 / 1.127 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/1.145, allocations: 3.984 kB / 1.127 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008815/1.146, allocations: 430.5 kB / 1.127 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/1.146, allocations: 4 kB / 1.127 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/1.146, allocations: 24.48 kB / 1.127 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002659/1.149, allocations: 393.2 kB / 1.128 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/1.149, allocations: 3.984 kB / 1.128 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008959/1.158, allocations: 3.52 MB / 1.131 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.158, allocations: 0 / 1.131 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003037/1.161, allocations: 0.7384 MB / 1.132 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/1.161, allocations: 144.5 kB / 1.132 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/1.161, allocations: 0 / 1.132 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/1.162, allocations: 23.89 kB / 1.132 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/1.162, allocations: 35.95 kB / 1.132 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/1.162, allocations: 7.984 kB / 1.132 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002945/1.162, allocations: 186 kB / 1.132 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.71e-07/1.163, allocations: 0 / 1.132 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001266/1.164, allocations: 275.2 kB / 1.132 GB, free: 14.82 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.003404/1.167, allocations: 1.271 MB / 1.134 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003867/1.171, allocations: 0.8822 MB / 1.135 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/1.171, allocations: 0 / 1.135 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/1.173, allocations: 457 kB / 1.135 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/1.174, allocations: 76.88 kB / 1.135 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/1.176, allocations: 0.6016 MB / 1.136 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/1.177, allocations: 0.844 MB / 1.137 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003822/1.177, allocations: 43.27 kB / 1.137 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/1.177, allocations: 123.4 kB / 1.137 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of SimCode: time 1.613e-06/1.177, allocations: 3.938 kB / 1.137 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06985/1.247, allocations: 12.84 MB / 1.149 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003175/1.248, allocations: 156 kB / 1.149 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/4.111, allocations: 0 / 1.149 GB, free: 13.67 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)