Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 249.5 MB / 257 MB, free: 6.949 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.001147/0.001147, allocations: 187.4 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008944/0.0008944, allocations: 80.42 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.131e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1654, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7845/0.9499, allocations: 357 MB / 1.234 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.9502, allocations: 87.83 kB / 1.234 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02905/0.9793, allocations: 11.33 MB / 1.245 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9793, allocations: 0 / 1.245 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.919e-05/0.9794, allocations: 4 kB / 1.245 GB, free: 2.902 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.001179/0.9806, allocations: 0.6122 MB / 1.246 GB, free: 2.258 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.9806, allocations: 8.031 kB / 1.246 GB, free: 2.25 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000764/0.9814, allocations: 143.5 kB / 1.246 GB, free: 2.109 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000948/0.9823, allocations: 330.8 kB / 1.246 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.9824, allocations: 7.984 kB / 1.246 GB, free: 1.754 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.9824, allocations: 4 kB / 1.246 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002798/0.9827, allocations: 141.3 kB / 1.246 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.9829, allocations: 142 kB / 1.246 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.983, allocations: 0 / 1.246 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.983, allocations: 0 / 1.246 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.983, allocations: 3.953 kB / 1.246 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.9843, allocations: 0.5599 MB / 1.247 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.9844, allocations: 99.81 kB / 1.247 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.9845, allocations: 82.53 kB / 1.247 GB, free: 0.9141 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006492/0.9852, allocations: 0.5101 MB / 1.248 GB, free: 304 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.9852, allocations: 30.56 kB / 1.248 GB, free: 264 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.9852, allocations: 0 / 1.248 GB, free: 264 kB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.4673/1.453, allocations: 3.779 MB / 1.251 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/1.453, allocations: 53.44 kB / 1.251 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/1.453, allocations: 220.8 kB / 1.252 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/1.453, allocations: 26.89 kB / 1.252 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/1.453, allocations: 148.7 kB / 1.252 GB, free: 308 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/1.453, allocations: 40.34 kB / 1.252 GB, free: 308 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/1.453, allocations: 0 / 1.252 GB, free: 308 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.152e-05/1.453, allocations: 343.8 kB / 1.252 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/1.453, allocations: 80.47 kB / 1.252 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/1.454, allocations: 69.48 kB / 1.252 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1463/1.6, allocations: 10.76 MB / 1.263 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.6, allocations: 0 / 1.263 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.1399/1.74, allocations: 10.91 MB / 1.273 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/1.74, allocations: 9.031 kB / 1.273 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.74, allocations: 0 / 1.273 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/1.74, allocations: 1.062 kB / 1.273 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/1.74, allocations: 85.86 kB / 1.274 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/1.74, allocations: 3.328 kB / 1.274 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/1.741, allocations: 67.38 kB / 1.274 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/1.741, allocations: 6.5 kB / 1.274 GB, free: 305.5 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 8.287e-05/1.741, allocations: 111.2 kB / 1.274 GB, free: 305.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05057/1.792, allocations: 3.783 MB / 1.277 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/1.792, allocations: 23.16 kB / 1.277 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04811/1.84, allocations: 3.815 MB / 1.281 GB, free: 302.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.84, allocations: 0 / 1.281 GB, free: 302.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.84, allocations: 3.906 kB / 1.281 GB, free: 302.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.84, allocations: 5.078 kB / 1.281 GB, free: 302.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/1.84, allocations: 267.1 kB / 1.281 GB, free: 302 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.84, allocations: 0 / 1.281 GB, free: 302 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/1.841, allocations: 75.39 kB / 1.281 GB, free: 302 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.841, allocations: 0 / 1.281 GB, free: 302 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/1.841, allocations: 7.891 kB / 1.281 GB, free: 302 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.841, allocations: 0 / 1.281 GB, free: 302 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.841, allocations: 4 kB / 1.282 GB, free: 302 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04693/1.888, allocations: 3.881 MB / 1.285 GB, free: 300.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/1.888, allocations: 124.3 kB / 1.285 GB, free: 300.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/1.888, allocations: 6.078 kB / 1.285 GB, free: 300.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/1.888, allocations: 49.33 kB / 1.285 GB, free: 300.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/1.888, allocations: 18.47 kB / 1.285 GB, free: 300.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/1.888, allocations: 7.859 kB / 1.285 GB, free: 300.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001271/1.888, allocations: 174 kB / 1.286 GB, free: 300.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.888, allocations: 0 / 1.286 GB, free: 300.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003683/1.889, allocations: 81.94 kB / 1.286 GB, free: 300.1 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.04807/1.937, allocations: 4.498 MB / 1.29 GB, free: 297 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003476/1.937, allocations: 178.9 kB / 1.29 GB, free: 296.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/1.937, allocations: 0 / 1.29 GB, free: 296.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/1.937, allocations: 91.56 kB / 1.29 GB, free: 296.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/1.938, allocations: 32.31 kB / 1.29 GB, free: 296.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007783/1.938, allocations: 362.2 kB / 1.291 GB, free: 296.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/1.939, allocations: 0.7552 MB / 1.291 GB, free: 295.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002383/1.939, allocations: 43.61 kB / 1.292 GB, free: 295.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/1.939, allocations: 78.33 kB / 1.292 GB, free: 295.6 MB / 0.8542 GB Notification: Performance of SimCode: time 3.31e-07/1.939, allocations: 4 kB / 1.292 GB, free: 295.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/1.96, allocations: 5.151 MB / 1.297 GB, free: 290.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/1.96, allocations: 164.8 kB / 1.297 GB, free: 290.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/3.697, allocations: 1.781 kB / 1.297 GB, free: 290.4 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)