Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.159/5.159, allocations: 0.5623 GB / 0.5769 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00241/0.00241, allocations: 357.9 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.078/4.078, allocations: 410.7 MB / 1.112 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001794/0.001794, allocations: 171.1 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004908, allocations: 12 kB / 1.348 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6031/0.6036, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004918/0.6086, allocations: 4.311 MB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1386/0.7472, allocations: 136.6 MB / 1.598 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.7483, allocations: 15.94 kB / 1.598 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.7487, allocations: 83.2 kB / 1.598 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.7506, allocations: 476.6 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.7529, allocations: 0.6862 MB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001713/0.7547, allocations: 1.362 MB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.7561, allocations: 0.8786 MB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.7571, allocations: 421.7 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005543/0.7577, allocations: 457.3 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.7578, allocations: 28 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007432/0.7586, allocations: 279.5 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.7588, allocations: 222.9 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.7591, allocations: 264.9 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.7608, allocations: 1.629 MB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.768e-06/0.7609, allocations: 0 / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.319e-06/0.7609, allocations: 0 / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.484e-05/0.7609, allocations: 0 / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002685/0.7636, allocations: 1.486 MB / 1.606 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.7637, allocations: 15.56 kB / 1.606 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.7649, allocations: 249.8 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.7665, allocations: 0.8642 MB / 1.607 GB, free: 134 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.7667, allocations: 132.6 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.7669, allocations: 140 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002919/0.7698, allocations: 1.423 MB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/0.7699, allocations: 3.953 kB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.7701, allocations: 60 kB / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.7701, allocations: 43.94 kB / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/0.7737, allocations: 1.451 MB / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007191/0.781, allocations: 3.799 MB / 1.614 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.7831, allocations: 0.9036 MB / 1.615 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007951/0.784, allocations: 363.7 kB / 1.616 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.7841, allocations: 49.06 kB / 1.616 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.7853, allocations: 0.5436 MB / 1.616 GB, free: 125 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=93): time 4.059e-06/0.7853, allocations: 0 / 1.616 GB, free: 125 MB / 0.8542 GB Notification: Performance of matching and sorting (n=93): time 0.004162/0.7895, allocations: 1.385 MB / 1.617 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.7896, allocations: 192.9 kB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.7907, allocations: 0.7431 MB / 1.618 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.7909, allocations: 45.7 kB / 1.618 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.7913, allocations: 0.5699 MB / 1.619 GB, free: 122 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.7915, allocations: 311.5 kB / 1.619 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.7916, allocations: 16 kB / 1.619 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.743e-05/0.7917, allocations: 341.9 kB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007924/0.7925, allocations: 329.8 kB / 1.62 GB, free: 121 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008862/0.7934, allocations: 435.9 kB / 1.62 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009585/0.7944, allocations: 390.9 kB / 1.621 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.683e-06/0.7944, allocations: 0 / 1.621 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002682/0.7971, allocations: 1.028 MB / 1.622 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.7972, allocations: 8 kB / 1.622 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.973e-06/0.7972, allocations: 0 / 1.622 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/0.7978, allocations: 92.67 kB / 1.622 GB, free: 119 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.799, allocations: 203.7 kB / 1.622 GB, free: 118.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.8011, allocations: 1.528 MB / 1.624 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.8023, allocations: 108.9 kB / 1.624 GB, free: 117 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.8024, allocations: 43.97 kB / 1.624 GB, free: 117 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007121/0.8032, allocations: 313.8 kB / 1.624 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.8034, allocations: 110.8 kB / 1.624 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003468/0.8069, allocations: 1.301 MB / 1.625 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.8069, allocations: 12 kB / 1.625 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.697e-06/0.8069, allocations: 3.984 kB / 1.625 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.807, allocations: 3.984 kB / 1.625 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005033/0.812, allocations: 2.497 MB / 1.628 GB, free: 112.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.111e-06/0.8121, allocations: 4 kB / 1.628 GB, free: 112.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009408/0.813, allocations: 183.7 kB / 1.628 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000585/0.8136, allocations: 88.75 kB / 1.628 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.8137, allocations: 27.94 kB / 1.628 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.8157, allocations: 1.552 MB / 1.63 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.406e-06/0.8157, allocations: 0 / 1.63 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.8183, allocations: 1.113 MB / 1.631 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006284/0.819, allocations: 343.3 kB / 1.631 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.8192, allocations: 16 kB / 1.631 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008744/0.8201, allocations: 79.94 kB / 1.631 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.8203, allocations: 72.95 kB / 1.631 GB, free: 109 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.8204, allocations: 43.97 kB / 1.631 GB, free: 109 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009328/0.8213, allocations: 0.542 MB / 1.632 GB, free: 108.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.43e-07/0.8214, allocations: 0 / 1.632 GB, free: 108.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001277/0.8227, allocations: 382.6 kB / 1.632 GB, free: 108.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00184/0.8245, allocations: 0.5635 MB / 1.633 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002354/0.8269, allocations: 0.9641 MB / 1.634 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.735e-06/0.8269, allocations: 0 / 1.634 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.8282, allocations: 0.5822 MB / 1.634 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.8298, allocations: 280.1 kB / 1.634 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/0.8357, allocations: 2.916 MB / 1.637 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00072/0.8365, allocations: 1.192 MB / 1.638 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001477/0.838, allocations: 285.6 kB / 1.639 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/0.8384, allocations: 135.3 kB / 1.639 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.76e-06/0.8384, allocations: 0 / 1.639 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.03609/0.8745, allocations: 15.6 MB / 1.654 GB, free: 85.99 MB / 0.8542 GB