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.179/2.179, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.001534/0.001534, allocations: 186.3 kB / 315.4 MB, free: 3.996 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.142/2.142, allocations: 205.3 MB / 0.5662 GB, free: 0.625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 93.91 kB / 0.6704 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.204e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2081, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.271/1.479, allocations: 356.7 MB / 1.232 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/1.48, allocations: 87.52 kB / 1.233 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04778/1.527, allocations: 11.34 MB / 1.244 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.974e-06/1.527, allocations: 0 / 1.244 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.115e-05/1.527, allocations: 4 kB / 1.244 GB, free: 4.484 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.001726/1.529, allocations: 0.612 MB / 1.244 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/1.529, allocations: 8.031 kB / 1.244 GB, free: 3.832 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/1.53, allocations: 135.5 kB / 1.244 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/1.532, allocations: 341.2 kB / 1.245 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/1.532, allocations: 0 / 1.245 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/1.532, allocations: 8 kB / 1.245 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004665/1.533, allocations: 131.7 kB / 1.245 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/1.533, allocations: 147.9 kB / 1.245 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.533, allocations: 4 kB / 1.245 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/1.533, allocations: 3.953 kB / 1.245 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/1.533, allocations: 4 kB / 1.245 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/1.535, allocations: 0.5623 MB / 1.246 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/1.535, allocations: 101.1 kB / 1.246 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/1.536, allocations: 88.39 kB / 1.246 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009735/1.537, allocations: 0.5061 MB / 1.246 GB, free: 1.875 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/1.537, allocations: 38.56 kB / 1.246 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.725e-06/1.537, allocations: 0 / 1.246 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.6847/2.221, allocations: 3.772 MB / 1.25 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/2.221, allocations: 54.25 kB / 1.25 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/2.222, allocations: 213 kB / 1.25 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/2.222, allocations: 26.83 kB / 1.25 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/2.222, allocations: 152.7 kB / 1.25 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.569e-05/2.222, allocations: 43.8 kB / 1.25 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/2.222, allocations: 0 / 1.25 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001038/2.222, allocations: 341.4 kB / 1.251 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/2.223, allocations: 73.84 kB / 1.251 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/2.223, allocations: 77.42 kB / 1.251 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3974/2.62, allocations: 10.76 MB / 1.261 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/2.62, allocations: 1.312 kB / 1.261 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.379/2.999, allocations: 10.91 MB / 1.272 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/2.999, allocations: 10.05 kB / 1.272 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/2.999, allocations: 0 / 1.272 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/3, allocations: 1.469 kB / 1.272 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008504/3, allocations: 84.64 kB / 1.272 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/3, allocations: 0 / 1.272 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/3.001, allocations: 63.11 kB / 1.272 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/3.001, allocations: 3.875 kB / 1.272 GB, free: 306.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 () * 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.0001106/3.001, allocations: 112.3 kB / 1.272 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1115/3.113, allocations: 3.782 MB / 1.276 GB, free: 305.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.457e-05/3.113, allocations: 23.72 kB / 1.276 GB, free: 305.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1115/3.224, allocations: 3.812 MB / 1.28 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/3.224, allocations: 0 / 1.28 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/3.224, allocations: 3.953 kB / 1.28 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/3.224, allocations: 0 / 1.28 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/3.225, allocations: 275.7 kB / 1.28 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/3.225, allocations: 3.906 kB / 1.28 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008038/3.226, allocations: 77.52 kB / 1.28 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/3.226, allocations: 3.969 kB / 1.28 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/3.226, allocations: 3.984 kB / 1.28 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/3.226, allocations: 0 / 1.28 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/3.226, allocations: 7.953 kB / 1.28 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1104/3.336, allocations: 3.875 MB / 1.284 GB, free: 301.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/3.337, allocations: 122.3 kB / 1.284 GB, free: 301.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.128e-05/3.337, allocations: 0 / 1.284 GB, free: 301.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/3.337, allocations: 58.25 kB / 1.284 GB, free: 301.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/3.337, allocations: 16.75 kB / 1.284 GB, free: 301.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/3.337, allocations: 7.578 kB / 1.284 GB, free: 301.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001893/3.338, allocations: 178.3 kB / 1.284 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.41e-07/3.338, allocations: 0 / 1.284 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005366/3.338, allocations: 72.83 kB / 1.284 GB, free: 301.3 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.1107/3.449, allocations: 4.503 MB / 1.289 GB, free: 299.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000546/3.45, allocations: 179 kB / 1.289 GB, free: 299 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/3.45, allocations: 0 / 1.289 GB, free: 299 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/3.45, allocations: 93.12 kB / 1.289 GB, free: 298.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/3.45, allocations: 33.17 kB / 1.289 GB, free: 298.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/3.452, allocations: 364.6 kB / 1.289 GB, free: 298.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/3.452, allocations: 0.7552 MB / 1.29 GB, free: 297.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004654/3.452, allocations: 47.64 kB / 1.29 GB, free: 297.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/3.453, allocations: 73.83 kB / 1.29 GB, free: 297.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.793e-06/3.453, allocations: 4 kB / 1.29 GB, free: 297.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04577/3.499, allocations: 5.145 MB / 1.295 GB, free: 292.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/3.499, allocations: 157.5 kB / 1.295 GB, free: 292.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/5.972, allocations: 0 / 1.295 GB, free: 292.5 MB / 0.8542 GB