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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 191.3 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.1 MB / 222 MB, free: 4.969 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 251.6 MB / 0.5088 GB, free: 3.332 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 71.89 kB / 0.6216 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5157, allocations: 104.7 MB / 0.7238 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003419/0.5192, allocations: 2.203 MB / 0.726 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00415/0.5234, allocations: 3.785 MB / 0.7296 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.5235, allocations: 4 kB / 0.7297 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.5238, allocations: 43.73 kB / 0.7297 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.5242, allocations: 115.2 kB / 0.7298 GB, free: 7.141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.5245, allocations: 131.7 kB / 0.7299 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.5248, allocations: 295 kB / 0.7302 GB, free: 6.723 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.525, allocations: 52.72 kB / 0.7303 GB, free: 6.668 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.5252, allocations: 123.4 kB / 0.7304 GB, free: 6.547 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.5253, allocations: 135.4 kB / 0.7305 GB, free: 6.414 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.5254, allocations: 12 kB / 0.7305 GB, free: 6.402 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.5256, allocations: 127.8 kB / 0.7306 GB, free: 6.277 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.5257, allocations: 51.75 kB / 0.7307 GB, free: 6.227 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.5258, allocations: 115.2 kB / 0.7308 GB, free: 6.113 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.5262, allocations: 318.9 kB / 0.7311 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5262, allocations: 0 / 0.7311 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5262, allocations: 0 / 0.7311 GB, free: 5.801 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.465e-06/0.5263, allocations: 0 / 0.7311 GB, free: 5.801 MB / 0.545 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.001293/0.5276, allocations: 0.6347 MB / 0.7317 GB, free: 5.117 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.5276, allocations: 8.031 kB / 0.7317 GB, free: 5.109 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009101/0.5285, allocations: 172.5 kB / 0.7319 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000713/0.5292, allocations: 324.2 kB / 0.7322 GB, free: 4.586 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.5293, allocations: 12.5 kB / 0.7322 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.5293, allocations: 11.94 kB / 0.7322 GB, free: 4.562 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/0.53, allocations: 218 kB / 0.7324 GB, free: 4.344 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.53, allocations: 4 kB / 0.7324 GB, free: 4.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.53, allocations: 7.984 kB / 0.7324 GB, free: 4.332 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.53, allocations: 0 / 0.7324 GB, free: 4.332 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000951/0.531, allocations: 287.7 kB / 0.7327 GB, free: 4.051 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.5323, allocations: 0.5862 MB / 0.7333 GB, free: 3.414 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.5328, allocations: 174.4 kB / 0.7335 GB, free: 3.234 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/0.5333, allocations: 156.7 kB / 0.7336 GB, free: 3.078 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008477/0.5342, allocations: 0.5493 MB / 0.7341 GB, free: 2.418 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.5342, allocations: 38.55 kB / 0.7342 GB, free: 2.371 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.5342, allocations: 0 / 0.7342 GB, free: 2.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001629/0.5358, allocations: 479.5 kB / 0.7346 GB, free: 1.898 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.5359, allocations: 55.41 kB / 0.7347 GB, free: 1.832 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.5362, allocations: 264.6 kB / 0.7349 GB, free: 1.566 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.5362, allocations: 25.7 kB / 0.735 GB, free: 1.535 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.5363, allocations: 155.9 kB / 0.7351 GB, free: 1.379 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/0.5364, allocations: 35.45 kB / 0.7352 GB, free: 1.344 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.5365, allocations: 45.69 kB / 0.7352 GB, free: 1.293 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5367, allocations: 342.7 kB / 0.7355 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000518/0.5372, allocations: 147.9 kB / 0.7357 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.5377, allocations: 151.8 kB / 0.7358 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/0.5387, allocations: 290.6 kB / 0.7361 GB, free: 380 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5387, allocations: 0 / 0.7361 GB, free: 380 kB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0011/0.5398, allocations: 367.5 kB / 0.7364 GB, free: 8 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5399, allocations: 7.984 kB / 0.7364 GB, free: 0 / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5399, allocations: 4.047 kB / 0.7364 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.5399, allocations: 4 kB / 0.7365 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.5404, allocations: 63.86 kB / 0.7365 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.5404, allocations: 0 / 0.7365 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.5408, allocations: 55.73 kB / 0.7366 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.5408, allocations: 7.984 kB / 0.7366 GB, free: 15.86 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.5409, allocations: 129.8 kB / 0.7367 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.541, allocations: 23.72 kB / 0.7367 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.5422, allocations: 379.3 kB / 0.7371 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5422, allocations: 4 kB / 0.7371 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5422, allocations: 0 / 0.7371 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5422, allocations: 3.938 kB / 0.7371 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.5426, allocations: 309.3 kB / 0.7374 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.5426, allocations: 0 / 0.7374 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.543, allocations: 59.86 kB / 0.7374 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.543, allocations: 11.94 kB / 0.7375 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.543, allocations: 7.984 kB / 0.7375 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5431, allocations: 0 / 0.7375 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5431, allocations: 0 / 0.7375 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.5442, allocations: 446.9 kB / 0.7379 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.5443, allocations: 116.8 kB / 0.738 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.5444, allocations: 7.984 kB / 0.738 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.5447, allocations: 35.95 kB / 0.738 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.5448, allocations: 19.97 kB / 0.7381 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.5448, allocations: 3.938 kB / 0.7381 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001701/0.545, allocations: 191.1 kB / 0.7382 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.545, allocations: 0 / 0.7382 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003504/0.5454, allocations: 75.84 kB / 0.7383 GB, free: 13.97 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002391/0.5456, allocations: 135.2 kB / 0.7384 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.5467, allocations: 323.3 kB / 0.7388 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5467, allocations: 0 / 0.7388 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005265/0.5472, allocations: 163.8 kB / 0.7389 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.5477, allocations: 33.2 kB / 0.7389 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.5488, allocations: 0.5619 MB / 0.7395 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.5492, allocations: 0.7477 MB / 0.7402 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002492/0.5494, allocations: 49.33 kB / 0.7403 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.5495, allocations: 19.42 kB / 0.7403 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.5495, allocations: 0 / 0.7403 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.005984/0.5555, allocations: 2.946 MB / 0.7432 GB, free: 8.992 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)