Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.175/2.175, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001496/0.001496, allocations: 183.6 kB / 325.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.427/2.427, allocations: 205.4 MB / 0.5764 GB, free: 21.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.00116, allocations: 99.22 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006673/0.0006673, allocations: 11.81 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2266, allocations: 106.3 MB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.202/1.428, allocations: 356.5 MB / 1.247 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/1.429, allocations: 92.92 kB / 1.247 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.04876/1.478, allocations: 11.47 MB / 1.258 GB, free: 4 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.124e-06/1.478, allocations: 0 / 1.258 GB, free: 4 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.849e-05/1.478, allocations: 8 kB / 1.258 GB, free: 3.992 MB / 0.7605 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.002007/1.48, allocations: 0.6636 MB / 1.259 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/1.48, allocations: 8.031 kB / 1.259 GB, free: 3.285 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.531e-05/1.48, allocations: 45.17 kB / 1.259 GB, free: 3.238 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/1.481, allocations: 131.5 kB / 1.259 GB, free: 3.109 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/1.483, allocations: 324.7 kB / 1.259 GB, free: 2.766 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/1.483, allocations: 7.875 kB / 1.259 GB, free: 2.762 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/1.483, allocations: 11.69 kB / 1.259 GB, free: 2.754 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/1.484, allocations: 255.8 kB / 1.26 GB, free: 2.539 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.484, allocations: 0 / 1.26 GB, free: 2.539 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/1.484, allocations: 7.578 kB / 1.26 GB, free: 2.535 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/1.484, allocations: 4 kB / 1.26 GB, free: 2.531 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/1.486, allocations: 346.2 kB / 1.26 GB, free: 2.246 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/1.488, allocations: 0.5902 MB / 1.261 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/1.49, allocations: 207.6 kB / 1.261 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/1.491, allocations: 0.5101 MB / 1.261 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/1.491, allocations: 34.56 kB / 1.261 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 3.437e-06/1.491, allocations: 0 / 1.261 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.003288/1.494, allocations: 0.5694 MB / 1.262 GB, free: 384 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/1.494, allocations: 54.84 kB / 1.262 GB, free: 320 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/1.495, allocations: 231.2 kB / 1.262 GB, free: 112 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/1.495, allocations: 29.64 kB / 1.262 GB, free: 80 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/1.495, allocations: 153.9 kB / 1.262 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.008e-05/1.495, allocations: 42.55 kB / 1.262 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/1.495, allocations: 0 / 1.262 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.495, allocations: 343 kB / 1.263 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009916/1.496, allocations: 175.9 kB / 1.263 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009876/1.497, allocations: 178.3 kB / 1.263 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/1.498, allocations: 175.9 kB / 1.263 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.498, allocations: 0 / 1.263 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002259/1.5, allocations: 428 kB / 1.264 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/1.5, allocations: 8 kB / 1.264 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.5, allocations: 0 / 1.264 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/1.5, allocations: 0 / 1.264 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008489/1.501, allocations: 87.86 kB / 1.264 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.501, allocations: 0 / 1.264 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006793/1.502, allocations: 67.09 kB / 1.264 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/1.502, allocations: 7.984 kB / 1.264 GB, free: 14.66 MB / 0.7761 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.0002384/1.502, allocations: 128.7 kB / 1.264 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/1.502, allocations: 27.62 kB / 1.264 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/1.505, allocations: 442.4 kB / 1.264 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/1.505, allocations: 0 / 1.264 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.505, allocations: 3.938 kB / 1.264 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/1.505, allocations: 11.97 kB / 1.264 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005048/1.505, allocations: 304.2 kB / 1.265 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.505, allocations: 0 / 1.265 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007942/1.506, allocations: 71.92 kB / 1.265 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/1.506, allocations: 4 kB / 1.265 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/1.506, allocations: 7.359 kB / 1.265 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/1.506, allocations: 0 / 1.265 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.506, allocations: 0 / 1.265 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/1.508, allocations: 0.5013 MB / 1.265 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/1.509, allocations: 127.5 kB / 1.265 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/1.509, allocations: 0 / 1.265 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000635/1.509, allocations: 55.45 kB / 1.265 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.509, allocations: 19.16 kB / 1.265 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/1.51, allocations: 7.984 kB / 1.265 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002723/1.51, allocations: 184 kB / 1.266 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.91e-07/1.51, allocations: 0 / 1.266 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005656/1.51, allocations: 83.36 kB / 1.266 GB, free: 12.87 MB / 0.7761 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.002871/1.513, allocations: 1.116 MB / 1.267 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002142/1.515, allocations: 386.8 kB / 1.267 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.515, allocations: 0 / 1.267 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/1.517, allocations: 195.4 kB / 1.267 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/1.517, allocations: 23.89 kB / 1.267 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/1.519, allocations: 0.8665 MB / 1.268 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/1.52, allocations: 0.7515 MB / 1.269 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004742/1.52, allocations: 49.38 kB / 1.269 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/1.52, allocations: 77.02 kB / 1.269 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of SimCode: time 9.12e-07/1.52, allocations: 0 / 1.269 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/1.55, allocations: 6.02 MB / 1.275 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003718/1.551, allocations: 207.6 kB / 1.275 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/4.149, allocations: 4 kB / 1.275 GB, free: 3.523 MB / 0.7761 GB