Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.624/4.624, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.002355/0.002355, allocations: 363.4 kB / 0.6441 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 3.855/3.855, allocations: 410.7 MB / 1.112 GB, free: 6.008 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.001764/0.001764, allocations: 193.9 kB / 1.225 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004946, allocations: 12 kB / 1.348 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5886/0.5891, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002052/0.5912, allocations: 1.786 MB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003962/0.5952, allocations: 3.531 MB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.5954, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.5956, allocations: 48.36 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.5959, allocations: 106.1 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.5963, allocations: 120.7 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.5966, allocations: 273 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.5967, allocations: 41.91 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.5969, allocations: 116.5 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.5971, allocations: 128.4 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.5972, allocations: 12 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.5974, allocations: 117.1 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.5975, allocations: 43.83 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.227e-05/0.5975, allocations: 57.58 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.5978, allocations: 228.1 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.946e-06/0.5978, allocations: 0 / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.69e-06/0.5978, allocations: 1.188 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.106e-06/0.5978, allocations: 0 / 1.467 GB, free: 277.8 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.001144/0.599, allocations: 0.6235 MB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.5991, allocations: 19.61 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.6002, allocations: 160.9 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007353/0.6009, allocations: 323 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.601, allocations: 9.312 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.601, allocations: 12 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007731/0.6018, allocations: 261.1 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.6018, allocations: 1.656 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.6019, allocations: 4 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.458e-06/0.6019, allocations: 4 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.6031, allocations: 339.9 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.6045, allocations: 0.6019 MB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.6052, allocations: 197.2 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/0.6058, allocations: 184 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008504/0.6067, allocations: 0.582 MB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.6067, allocations: 32.28 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.966e-06/0.6067, allocations: 0 / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.001992/0.6087, allocations: 0.5662 MB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.6088, allocations: 51.41 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.609, allocations: 264.6 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.6091, allocations: 25.7 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.6092, allocations: 152.5 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.6092, allocations: 43.17 kB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.6093, allocations: 4 kB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.6093, allocations: 342.8 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006187/0.61, allocations: 171.8 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.6106, allocations: 178.1 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006129/0.6112, allocations: 173.8 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.681e-06/0.6113, allocations: 4.906 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001374/0.6126, allocations: 429.2 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.6127, allocations: 8 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6127, allocations: 0 / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.6127, allocations: 0.5938 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005517/0.6133, allocations: 78.98 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.469e-06/0.6133, allocations: 0.9375 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.6137, allocations: 67.34 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.6138, allocations: 4 kB / 1.473 GB, free: 271.7 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 () * Number of clocked 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.0001448/0.614, allocations: 142.1 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.188e-05/0.614, allocations: 25.22 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.6155, allocations: 440.3 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.006e-06/0.6155, allocations: 2.906 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.201e-06/0.6155, allocations: 0 / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6155, allocations: 7.984 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.6159, allocations: 305.3 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.778e-06/0.6159, allocations: 5.219 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/0.6164, allocations: 74.52 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-06/0.6164, allocations: 4 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.6165, allocations: 10.73 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.212e-06/0.6165, allocations: 3.938 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.956e-06/0.6165, allocations: 0 / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.6178, allocations: 0.4918 MB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.618, allocations: 124.7 kB / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.618, allocations: 4 kB / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.6185, allocations: 54.23 kB / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.6186, allocations: 17.5 kB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.6186, allocations: 7.984 kB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001644/0.6188, allocations: 183.1 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.16e-07/0.6188, allocations: 1.25 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004433/0.6192, allocations: 75.91 kB / 1.475 GB, free: 269.7 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 () * Number of clocked 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.0002033/0.6194, allocations: 132.3 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.6208, allocations: 379.2 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.674e-06/0.6208, allocations: 0.6875 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006435/0.6215, allocations: 193.9 kB / 1.475 GB, free: 269 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.622, allocations: 42.94 kB / 1.475 GB, free: 269 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.6232, allocations: 0.5783 MB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.6234, allocations: 0.7546 MB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003745/0.6238, allocations: 49.52 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.6239, allocations: 19.42 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.692e-06/0.6239, allocations: 4 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.007328/0.6312, allocations: 2.845 MB / 1.48 GB, free: 264.9 MB / 0.8542 GB