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.536/2.536, allocations: 248.5 MB / 261.1 MB, free: 6.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001499/0.001498, allocations: 181.9 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.00152/0.00152, allocations: 98.42 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.547e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2016, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.371, allocations: 356.5 MB / 1.239 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/1.372, allocations: 94 kB / 1.239 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0484/1.42, allocations: 11.41 MB / 1.25 GB, free: 352 kB / 0.8542 GB Notification: Performance of FrontEnd: time 1.383e-06/1.42, allocations: 0 / 1.25 GB, free: 352 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.286e-05/1.42, allocations: 8 kB / 1.25 GB, free: 344 kB / 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.5966/2.017, allocations: 0.6066 MB / 1.251 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/2.017, allocations: 9.469 kB / 1.251 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/2.017, allocations: 44.36 kB / 1.251 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/2.018, allocations: 135.1 kB / 1.251 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/2.02, allocations: 332.9 kB / 1.251 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/2.02, allocations: 7.5 kB / 1.251 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/2.02, allocations: 10.89 kB / 1.251 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/2.021, allocations: 155.3 kB / 1.251 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/2.021, allocations: 0.9375 kB / 1.251 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/2.021, allocations: 4.594 kB / 1.251 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/2.021, allocations: 1.969 kB / 1.251 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005059/2.021, allocations: 142.9 kB / 1.251 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/2.024, allocations: 0.602 MB / 1.252 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/2.024, allocations: 97.39 kB / 1.252 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/2.024, allocations: 87.47 kB / 1.252 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009081/2.025, allocations: 0.5136 MB / 1.253 GB, free: 305 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/2.025, allocations: 36.31 kB / 1.253 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 3.346e-06/2.025, allocations: 0 / 1.253 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0007734/2.026, allocations: 208.6 kB / 1.253 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/2.026, allocations: 54.36 kB / 1.253 GB, free: 304.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/2.026, allocations: 232.7 kB / 1.253 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/2.026, allocations: 27.39 kB / 1.253 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/2.027, allocations: 152.8 kB / 1.253 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/2.027, allocations: 46.67 kB / 1.253 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/2.027, allocations: 5.312 kB / 1.253 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/2.027, allocations: 336.6 kB / 1.254 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/2.027, allocations: 75.95 kB / 1.254 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/2.027, allocations: 74.31 kB / 1.254 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/2.028, allocations: 78.78 kB / 1.254 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/2.028, allocations: 0 / 1.254 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007258/2.028, allocations: 230.5 kB / 1.254 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/2.028, allocations: 7.078 kB / 1.254 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/2.028, allocations: 1.125 kB / 1.254 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/2.028, allocations: 1.344 kB / 1.254 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000893/2.029, allocations: 86.95 kB / 1.254 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/2.029, allocations: 2.219 kB / 1.254 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006589/2.03, allocations: 60.73 kB / 1.254 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/2.03, allocations: 8.219 kB / 1.254 GB, free: 304.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.0001139/2.03, allocations: 114.4 kB / 1.254 GB, free: 304.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/2.03, allocations: 23.11 kB / 1.254 GB, free: 304.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008259/2.031, allocations: 241 kB / 1.255 GB, free: 304 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/2.031, allocations: 2.312 kB / 1.255 GB, free: 304 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/2.031, allocations: 5.438 kB / 1.255 GB, free: 304 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/2.031, allocations: 2.469 kB / 1.255 GB, free: 304 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/2.032, allocations: 310.9 kB / 1.255 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/2.032, allocations: 0 / 1.255 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007816/2.033, allocations: 75 kB / 1.255 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/2.033, allocations: 5.828 kB / 1.255 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/2.033, allocations: 7.453 kB / 1.255 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/2.033, allocations: 2 kB / 1.255 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/2.033, allocations: 0 / 1.255 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006979/2.033, allocations: 308.5 kB / 1.255 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/2.033, allocations: 124.1 kB / 1.256 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.94e-05/2.034, allocations: 4.469 kB / 1.256 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006478/2.034, allocations: 53.16 kB / 1.256 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/2.034, allocations: 15.31 kB / 1.256 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/2.034, allocations: 6.312 kB / 1.256 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002562/2.035, allocations: 189.1 kB / 1.256 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.11e-07/2.035, allocations: 0 / 1.256 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005549/2.035, allocations: 78.41 kB / 1.256 GB, free: 303.5 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.001257/2.037, allocations: 0.9294 MB / 1.257 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006576/2.037, allocations: 191.2 kB / 1.257 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/2.037, allocations: 1.281 kB / 1.257 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/2.038, allocations: 89.64 kB / 1.257 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/2.038, allocations: 30.61 kB / 1.257 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/2.039, allocations: 373 kB / 1.257 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/2.04, allocations: 0.7524 MB / 1.258 GB, free: 302 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004663/2.04, allocations: 61.38 kB / 1.258 GB, free: 302 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/2.04, allocations: 80.28 kB / 1.258 GB, free: 302 MB / 0.8542 GB Notification: Performance of SimCode: time 1.483e-06/2.04, allocations: 0.5625 kB / 1.258 GB, free: 302 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0406/2.081, allocations: 6.242 MB / 1.264 GB, free: 301.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/2.081, allocations: 178.1 kB / 1.265 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/4.634, allocations: 2.812 kB / 1.265 GB, free: 301.3 MB / 0.8542 GB