Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.234/2.234, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 194.3 kB / 499.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 107.6 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 57.02 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2532, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.003613/0.2568, allocations: 3.004 MB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2581, allocations: 0.7881 MB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.2584, allocations: 11.94 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.2586, allocations: 39.62 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.259, allocations: 115.1 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.2594, allocations: 143.8 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004482/0.2598, allocations: 0.495 MB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.2601, allocations: 186 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.2604, allocations: 191.2 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.2606, allocations: 215 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.2607, allocations: 24 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.348e-05/0.2608, allocations: 28 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.389e-05/0.2609, allocations: 95.48 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.261, allocations: 206.8 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.2614, allocations: 432.5 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2614, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2614, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.2614, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001245/0.2626, allocations: 0.7251 MB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2627, allocations: 11.98 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.2628, allocations: 56.28 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.2632, allocations: 323.3 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.2632, allocations: 25.38 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.2633, allocations: 32.38 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.2638, allocations: 385.2 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2639, allocations: 0 / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.2639, allocations: 16 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.2639, allocations: 8 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.2644, allocations: 270.4 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.2659, allocations: 1.456 MB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.2664, allocations: 287.2 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.2668, allocations: 173.2 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.2668, allocations: 8.219 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.2668, allocations: 42.73 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.2668, allocations: 4 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=27): time 0.002723/0.2696, allocations: 0.8745 MB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.2696, allocations: 55.41 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.2699, allocations: 361.7 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.2699, allocations: 33.7 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.27, allocations: 212.2 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.175e-05/0.2701, allocations: 98.58 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.2702, allocations: 53.98 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.353e-05/0.2702, allocations: 342.8 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.2704, allocations: 105.9 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.2706, allocations: 163.9 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.271, allocations: 262.3 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.271, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001041/0.2721, allocations: 489.4 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2721, allocations: 11.98 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2721, allocations: 0 / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007145/0.2728, allocations: 189.7 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.273, allocations: 39.92 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.2757, allocations: 2.468 MB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.2761, allocations: 43.66 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.2762, allocations: 8 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002984/0.2765, allocations: 204.6 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002122/0.2767, allocations: 175.7 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003873/0.2771, allocations: 261.3 kB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-06/0.2771, allocations: 3.984 kB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.001319/0.2784, allocations: 493.4 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2785, allocations: 8.719 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2785, allocations: 4 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.2791, allocations: 186.2 kB / 1.234 GB, free: 99.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.2792, allocations: 39.92 kB / 1.235 GB, free: 99.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/0.2816, allocations: 2.393 MB / 1.237 GB, free: 97.32 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.282, allocations: 35.81 kB / 1.237 GB, free: 97.28 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.2821, allocations: 8 kB / 1.237 GB, free: 97.27 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.2822, allocations: 196.8 kB / 1.237 GB, free: 97.07 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.2822, allocations: 39.53 kB / 1.237 GB, free: 97.04 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.79e-05/0.2823, allocations: 56.16 kB / 1.237 GB, free: 96.98 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2823, allocations: 4 kB / 1.237 GB, free: 96.98 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2823, allocations: 0 / 1.237 GB, free: 96.98 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2824, allocations: 7.922 kB / 1.237 GB, free: 96.97 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.2827, allocations: 413.6 kB / 1.238 GB, free: 96.52 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2828, allocations: 0 / 1.238 GB, free: 96.52 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.2829, allocations: 23.98 kB / 1.238 GB, free: 96.49 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005779/0.2835, allocations: 178.8 kB / 1.238 GB, free: 96.32 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.2835, allocations: 11.94 kB / 1.238 GB, free: 96.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.2858, allocations: 2.372 MB / 1.24 GB, free: 93.79 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2858, allocations: 4.031 kB / 1.24 GB, free: 93.79 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.287, allocations: 1.264 MB / 1.241 GB, free: 92.46 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.2872, allocations: 132.6 kB / 1.241 GB, free: 92.32 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.2872, allocations: 8 kB / 1.241 GB, free: 92.31 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.2875, allocations: 15.89 kB / 1.242 GB, free: 92.29 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.2876, allocations: 31.91 kB / 1.242 GB, free: 92.26 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.2876, allocations: 8 kB / 1.242 GB, free: 92.25 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002022/0.2878, allocations: 263.2 kB / 1.242 GB, free: 92 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2878, allocations: 0 / 1.242 GB, free: 92 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009261/0.2887, allocations: 255.6 kB / 1.242 GB, free: 91.75 MB / 0.823 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.2889, allocations: 103.2 kB / 1.242 GB, free: 91.64 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.2903, allocations: 0.7823 MB / 1.243 GB, free: 90.83 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2903, allocations: 0 / 1.243 GB, free: 90.83 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.2907, allocations: 310.5 kB / 1.243 GB, free: 90.52 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.2912, allocations: 97.38 kB / 1.243 GB, free: 90.42 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.2926, allocations: 0.9978 MB / 1.244 GB, free: 89.39 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.2929, allocations: 0.8308 MB / 1.245 GB, free: 88.53 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001706/0.2931, allocations: 31.28 kB / 1.245 GB, free: 88.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.2931, allocations: 19.44 kB / 1.245 GB, free: 88.48 MB / 0.823 GB Notification: Performance of SimCode: time 4.61e-07/0.2931, allocations: 4 kB / 1.245 GB, free: 88.47 MB / 0.823 GB Notification: Performance of Templates: time 0.01195/0.3051, allocations: 8.523 MB / 1.253 GB, free: 80.04 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)