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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.452/2.452, allocations: 287.5 MB / 303.2 MB, free: 8.246 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.001336/0.001336, allocations: 188.8 kB / 371.8 MB, free: 10.84 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.006/2.006, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009281/0.0009275, allocations: 93.22 kB / 0.7438 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004649, allocations: 12.23 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2067, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8909/1.098, allocations: 144.6 MB / 1.12 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/1.098, allocations: 94.72 kB / 1.121 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04492/1.143, allocations: 10.18 MB / 1.131 GB, free: 30.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.935e-06/1.143, allocations: 0 / 1.131 GB, free: 30.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.086e-05/1.143, allocations: 7.688 kB / 1.131 GB, free: 30.36 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.002132/1.145, allocations: 0.7512 MB / 1.131 GB, free: 29.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.145, allocations: 11.69 kB / 1.131 GB, free: 29.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/1.145, allocations: 55.12 kB / 1.131 GB, free: 29.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/1.146, allocations: 355.5 kB / 1.132 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/1.146, allocations: 35.84 kB / 1.132 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.17e-05/1.146, allocations: 50.88 kB / 1.132 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/1.147, allocations: 399.4 kB / 1.132 GB, free: 29.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/1.147, allocations: 192 / 1.132 GB, free: 29.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/1.148, allocations: 22.84 kB / 1.132 GB, free: 29.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/1.148, allocations: 11.69 kB / 1.132 GB, free: 29.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009729/1.149, allocations: 342.3 kB / 1.132 GB, free: 29.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003528/1.152, allocations: 1.296 MB / 1.134 GB, free: 28.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/1.153, allocations: 401.5 kB / 1.134 GB, free: 28.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005774/1.154, allocations: 241.8 kB / 1.134 GB, free: 28.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.339e-05/1.154, allocations: 7.672 kB / 1.134 GB, free: 28.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/1.154, allocations: 30.56 kB / 1.134 GB, free: 28.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 2.755e-06/1.154, allocations: 3.812 kB / 1.134 GB, free: 28.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.014/1.168, allocations: 1.883 MB / 1.136 GB, free: 27.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/1.168, allocations: 58.62 kB / 1.136 GB, free: 27.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005576/1.169, allocations: 347 kB / 1.137 GB, free: 27.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.835e-05/1.169, allocations: 33.05 kB / 1.137 GB, free: 27.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/1.169, allocations: 217 kB / 1.137 GB, free: 27.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/1.169, allocations: 143.8 kB / 1.137 GB, free: 27.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/1.169, allocations: 5.938 kB / 1.137 GB, free: 27.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.169, allocations: 344.4 kB / 1.137 GB, free: 26.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004423/1.17, allocations: 143.8 kB / 1.137 GB, free: 26.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/1.17, allocations: 212.8 kB / 1.138 GB, free: 26.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008862/1.171, allocations: 323.4 kB / 1.138 GB, free: 26.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.171, allocations: 4 kB / 1.138 GB, free: 26.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003377/1.175, allocations: 0.7377 MB / 1.139 GB, free: 26.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.385e-05/1.175, allocations: 95.47 kB / 1.139 GB, free: 26.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/1.175, allocations: 0 / 1.139 GB, free: 26.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003012/1.178, allocations: 453 kB / 1.139 GB, free: 26.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/1.178, allocations: 27.08 kB / 1.139 GB, free: 26.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00932/1.187, allocations: 3.815 MB / 1.143 GB, free: 24.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008259/1.188, allocations: 57.66 kB / 1.143 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/1.188, allocations: 7.75 kB / 1.143 GB, free: 24.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/1.188, allocations: 3.969 kB / 1.143 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003075/1.191, allocations: 0.6773 MB / 1.144 GB, free: 24.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.191, allocations: 0 / 1.144 GB, free: 24.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002681/1.194, allocations: 428.5 kB / 1.144 GB, free: 24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/1.194, allocations: 27.11 kB / 1.144 GB, free: 23.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008361/1.203, allocations: 3.71 MB / 1.148 GB, free: 22.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008075/1.204, allocations: 50.38 kB / 1.148 GB, free: 22.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/1.204, allocations: 11.5 kB / 1.148 GB, free: 22.14 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.0003638/1.204, allocations: 236.6 kB / 1.148 GB, free: 21.94 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/1.204, allocations: 42.25 kB / 1.148 GB, free: 21.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/1.204, allocations: 59.89 kB / 1.148 GB, free: 21.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.204, allocations: 7.688 kB / 1.148 GB, free: 21.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.204, allocations: 0 / 1.148 GB, free: 21.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/1.204, allocations: 3.984 kB / 1.148 GB, free: 21.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008034/1.205, allocations: 490.2 kB / 1.149 GB, free: 21.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.205, allocations: 4 kB / 1.149 GB, free: 21.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/1.205, allocations: 27.19 kB / 1.149 GB, free: 21.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002525/1.208, allocations: 392.8 kB / 1.149 GB, free: 21.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/1.208, allocations: 7.344 kB / 1.149 GB, free: 21.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008124/1.216, allocations: 3.674 MB / 1.153 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.216, allocations: 0 / 1.153 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/1.219, allocations: 0.8147 MB / 1.153 GB, free: 19.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/1.22, allocations: 147.4 kB / 1.154 GB, free: 19.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/1.22, allocations: 7.062 kB / 1.154 GB, free: 19.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005064/1.22, allocations: 27.02 kB / 1.154 GB, free: 19.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/1.221, allocations: 37.25 kB / 1.154 GB, free: 19.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/1.221, allocations: 11.28 kB / 1.154 GB, free: 19.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003894/1.221, allocations: 249.1 kB / 1.154 GB, free: 19.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.61e-07/1.221, allocations: 0 / 1.154 GB, free: 19.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001359/1.222, allocations: 326.9 kB / 1.154 GB, free: 19.03 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.0002074/1.223, allocations: 112.6 kB / 1.154 GB, free: 18.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004059/1.227, allocations: 1.179 MB / 1.155 GB, free: 18.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.227, allocations: 0 / 1.155 GB, free: 18.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/1.228, allocations: 0.4978 MB / 1.156 GB, free: 18.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.23, allocations: 124.1 kB / 1.156 GB, free: 18.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/1.232, allocations: 0.9701 MB / 1.157 GB, free: 17.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/1.232, allocations: 0.8479 MB / 1.158 GB, free: 16.85 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003011/1.233, allocations: 38.61 kB / 1.158 GB, free: 16.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/1.233, allocations: 23 kB / 1.158 GB, free: 16.82 MB / 0.698 GB Notification: Performance of SimCode: time 1.383e-06/1.233, allocations: 0 / 1.158 GB, free: 16.82 MB / 0.698 GB Notification: Performance of Templates: time 0.03045/1.263, allocations: 11.98 MB / 1.17 GB, free: 6.082 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (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 & ./Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)