Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.218/2.218, allocations: 253.2 MB / 260.6 MB, free: 7.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001538, allocations: 185.9 kB / 319.9 MB, free: 3.062 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.6 MB / 0.5709 GB, free: 15.22 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 86.22 kB / 0.6751 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.277e-05/2.283e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 106.3 MB / 0.8887 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.158/1.368, allocations: 356.7 MB / 1.237 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003903/1.369, allocations: 87.75 kB / 1.237 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04805/1.417, allocations: 11.34 MB / 1.248 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.543e-06/1.417, allocations: 0 / 1.248 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.051e-05/1.417, allocations: 12 kB / 1.248 GB, free: 3.043 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001736/1.419, allocations: 0.6115 MB / 1.249 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/1.419, allocations: 12.03 kB / 1.249 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/1.42, allocations: 127.5 kB / 1.249 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/1.421, allocations: 329.3 kB / 1.249 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/1.421, allocations: 4 kB / 1.249 GB, free: 1.91 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/1.421, allocations: 4 kB / 1.249 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004543/1.422, allocations: 137.8 kB / 1.249 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/1.422, allocations: 145.6 kB / 1.25 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/1.422, allocations: 0 / 1.25 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/1.422, allocations: 3.953 kB / 1.25 GB, free: 1.707 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/1.422, allocations: 4 kB / 1.25 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/1.424, allocations: 0.5648 MB / 1.25 GB, free: 1.184 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/1.424, allocations: 94.56 kB / 1.25 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/1.425, allocations: 82.03 kB / 1.25 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009391/1.426, allocations: 0.5135 MB / 1.251 GB, free: 460 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/1.426, allocations: 38.55 kB / 1.251 GB, free: 412 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/1.426, allocations: 3.938 kB / 1.251 GB, free: 408 kB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.686/2.112, allocations: 3.773 MB / 1.254 GB, free: 308 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/2.112, allocations: 53.22 kB / 1.255 GB, free: 308 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/2.112, allocations: 214.5 kB / 1.255 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/2.112, allocations: 30.48 kB / 1.255 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/2.112, allocations: 150.7 kB / 1.255 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/2.112, allocations: 43.56 kB / 1.255 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/2.112, allocations: 0 / 1.255 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/2.113, allocations: 339.5 kB / 1.255 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/2.113, allocations: 72.91 kB / 1.255 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/2.113, allocations: 76.72 kB / 1.255 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3248/2.438, allocations: 10.77 MB / 1.266 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/2.438, allocations: 4 kB / 1.266 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.321/2.759, allocations: 10.91 MB / 1.277 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/2.759, allocations: 4.594 kB / 1.277 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/2.759, allocations: 1.281 kB / 1.277 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/2.759, allocations: 1 kB / 1.277 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/2.76, allocations: 86.55 kB / 1.277 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/2.76, allocations: 3.984 kB / 1.277 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/2.761, allocations: 55.98 kB / 1.277 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/2.761, allocations: 8.297 kB / 1.277 GB, free: 305.2 MB / 0.8542 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 (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001045/2.761, allocations: 105.5 kB / 1.277 GB, free: 305.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/2.761, allocations: 25.12 kB / 1.277 GB, free: 305.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1081/2.869, allocations: 3.814 MB / 1.281 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/2.869, allocations: 1.562 kB / 1.281 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/2.869, allocations: 1.5 kB / 1.281 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/2.869, allocations: 0 / 1.281 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/2.87, allocations: 276.2 kB / 1.281 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/2.87, allocations: 0.625 kB / 1.281 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007869/2.87, allocations: 78.89 kB / 1.281 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/2.87, allocations: 1.188 kB / 1.281 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/2.87, allocations: 5.016 kB / 1.281 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/2.87, allocations: 7.531 kB / 1.281 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/2.87, allocations: 1.969 kB / 1.281 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1074/2.978, allocations: 3.881 MB / 1.285 GB, free: 301.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/2.978, allocations: 120.6 kB / 1.285 GB, free: 301.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/2.978, allocations: 7.984 kB / 1.285 GB, free: 301.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006328/2.979, allocations: 46.23 kB / 1.285 GB, free: 301.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/2.979, allocations: 17.59 kB / 1.285 GB, free: 301.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/2.979, allocations: 7.938 kB / 1.285 GB, free: 301.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001867/2.979, allocations: 173.7 kB / 1.285 GB, free: 301.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.31e-07/2.979, allocations: 0 / 1.285 GB, free: 301.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005116/2.98, allocations: 79.28 kB / 1.285 GB, free: 301.4 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003531/2.98, allocations: 186.9 kB / 1.285 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005156/2.981, allocations: 175.3 kB / 1.286 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.981, allocations: 0 / 1.286 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002394/2.981, allocations: 87.78 kB / 1.286 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/2.981, allocations: 30 kB / 1.286 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008584/2.982, allocations: 299.8 kB / 1.286 GB, free: 301.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/2.982, allocations: 0.7574 MB / 1.287 GB, free: 300.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004657/2.983, allocations: 45.77 kB / 1.287 GB, free: 300.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/2.983, allocations: 21.52 kB / 1.287 GB, free: 300.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.753e-06/2.983, allocations: 3.844 kB / 1.287 GB, free: 300.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.0091/2.992, allocations: 2.988 MB / 1.29 GB, free: 298.8 MB / 0.8542 GB