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.01109/0.01109, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.002352/0.002352, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.585/1.585, allocations: 205.1 MB / 222.5 MB, free: 12.2 MB / 190.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.409/1.409, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.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.001581/0.001581, allocations: 75.88 kB / 0.7258 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5761/0.5777, allocations: 104.7 MB / 0.828 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003167/0.5809, allocations: 2.141 MB / 0.8301 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.004423/0.5854, allocations: 3.802 MB / 0.8338 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.5855, allocations: 0 / 0.8338 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.5858, allocations: 59.5 kB / 0.8339 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.5862, allocations: 123.2 kB / 0.834 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.5866, allocations: 151.6 kB / 0.8342 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.5869, allocations: 314.9 kB / 0.8345 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.5871, allocations: 60.69 kB / 0.8345 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.5873, allocations: 139.5 kB / 0.8346 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.5875, allocations: 143.4 kB / 0.8348 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.5876, allocations: 20 kB / 0.8348 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.5878, allocations: 135.8 kB / 0.8349 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.955e-05/0.5879, allocations: 59.73 kB / 0.835 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.588, allocations: 119.3 kB / 0.8351 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.5884, allocations: 345 kB / 0.8354 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5885, allocations: 0 / 0.8354 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5885, allocations: 0 / 0.8354 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.5885, allocations: 0 / 0.8354 GB, free: 11.14 MB / 0.6387 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.001248/0.5897, allocations: 0.6269 MB / 0.836 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.5898, allocations: 12.03 kB / 0.8361 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009729/0.5908, allocations: 172.4 kB / 0.8362 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006951/0.5915, allocations: 324.2 kB / 0.8365 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.5915, allocations: 8.562 kB / 0.8365 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.5915, allocations: 15.94 kB / 0.8366 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000688/0.5922, allocations: 217.5 kB / 0.8368 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5922, allocations: 4 kB / 0.8368 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.5923, allocations: 4 kB / 0.8368 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5923, allocations: 4 kB / 0.8368 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.5933, allocations: 287.6 kB / 0.837 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.5946, allocations: 0.5784 MB / 0.8376 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.5952, allocations: 174.4 kB / 0.8378 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005221/0.5957, allocations: 156.7 kB / 0.8379 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008987/0.5967, allocations: 0.5454 MB / 0.8385 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.5967, allocations: 30.56 kB / 0.8385 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 1.724e-06/0.5967, allocations: 4 kB / 0.8385 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.001697/0.5984, allocations: 481 kB / 0.839 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.5985, allocations: 55.41 kB / 0.839 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.5987, allocations: 264.6 kB / 0.8393 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.5987, allocations: 25.7 kB / 0.8393 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.5988, allocations: 159.8 kB / 0.8394 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.5989, allocations: 43.44 kB / 0.8395 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.833e-05/0.599, allocations: 41.69 kB / 0.8395 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5991, allocations: 338.8 kB / 0.8398 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/0.5996, allocations: 155.7 kB / 0.84 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005109/0.6001, allocations: 147.9 kB / 0.8401 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.6012, allocations: 288.6 kB / 0.8404 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6012, allocations: 0 / 0.8404 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001166/0.6023, allocations: 368.3 kB / 0.8408 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.6024, allocations: 4 kB / 0.8408 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6024, allocations: 7.984 kB / 0.8408 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.6024, allocations: 4 kB / 0.8408 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.6029, allocations: 63.86 kB / 0.8408 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.6029, allocations: 0 / 0.8408 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.6032, allocations: 51.73 kB / 0.8409 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.6033, allocations: 11.98 kB / 0.8409 GB, free: 5.215 MB / 0.6387 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.0001297/0.6034, allocations: 126.9 kB / 0.841 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.6035, allocations: 27.7 kB / 0.841 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.6047, allocations: 390.4 kB / 0.8414 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6047, allocations: 0 / 0.8414 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6047, allocations: 0 / 0.8414 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.6047, allocations: 3.938 kB / 0.8414 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.6051, allocations: 309.3 kB / 0.8417 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.6051, allocations: 0 / 0.8417 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/0.6055, allocations: 59.92 kB / 0.8418 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6055, allocations: 0 / 0.8418 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.6055, allocations: 8 kB / 0.8418 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.6055, allocations: 3.984 kB / 0.8418 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6055, allocations: 0 / 0.8418 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.6067, allocations: 450.9 kB / 0.8422 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.6068, allocations: 120.7 kB / 0.8423 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.6069, allocations: 11.92 kB / 0.8423 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.6072, allocations: 35.95 kB / 0.8424 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.6073, allocations: 15.98 kB / 0.8424 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.6073, allocations: 11.92 kB / 0.8424 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001663/0.6075, allocations: 187.1 kB / 0.8426 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6075, allocations: 0 / 0.8426 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003497/0.6079, allocations: 71.92 kB / 0.8426 GB, free: 3.32 MB / 0.6387 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.0002388/0.6081, allocations: 139.1 kB / 0.8428 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.6093, allocations: 315.7 kB / 0.8431 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6093, allocations: 0 / 0.8431 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005512/0.6099, allocations: 171.8 kB / 0.8432 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.6103, allocations: 28.62 kB / 0.8433 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.6114, allocations: 0.4926 MB / 0.8438 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.6117, allocations: 0.7435 MB / 0.8445 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000211/0.6119, allocations: 41.39 kB / 0.8445 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.612, allocations: 31.41 kB / 0.8445 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of SimCode: time 4.11e-07/0.612, allocations: 0 / 0.8445 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of Templates: time 0.00672/0.6188, allocations: 3.318 MB / 0.8478 GB, free: 14.04 MB / 0.6544 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)