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.006832/0.006832, allocations: 101.5 kB / 15.73 MB, free: 5.953 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.001308/0.001308, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.518/1.518, allocations: 205.1 MB / 222.5 MB, free: 4.367 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.568/1.568, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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.001416/0.001416, allocations: 75.91 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1855, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003016/0.1886, allocations: 2.14 MB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004335/0.1929, allocations: 3.806 MB / 0.8338 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1931, allocations: 0 / 0.8338 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.1934, allocations: 63.48 kB / 0.8339 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003639/0.1938, allocations: 123.2 kB / 0.834 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.1941, allocations: 147.6 kB / 0.8342 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003594/0.1945, allocations: 314.9 kB / 0.8345 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.1947, allocations: 56.66 kB / 0.8345 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.1949, allocations: 139.5 kB / 0.8347 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1951, allocations: 147.4 kB / 0.8348 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.1952, allocations: 20 kB / 0.8348 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.1954, allocations: 135.8 kB / 0.8349 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.096e-05/0.1955, allocations: 55.75 kB / 0.835 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.1957, allocations: 123.3 kB / 0.8351 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.1961, allocations: 342.8 kB / 0.8354 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1962, allocations: 0 / 0.8354 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1962, allocations: 0 / 0.8354 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.1962, allocations: 0 / 0.8354 GB, free: 8.57 MB / 0.6544 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.001431/0.1976, allocations: 0.6269 MB / 0.8361 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1977, allocations: 12.03 kB / 0.8361 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.1987, allocations: 168.5 kB / 0.8362 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007763/0.1995, allocations: 332.1 kB / 0.8365 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1995, allocations: 8.562 kB / 0.8365 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.1996, allocations: 19.92 kB / 0.8366 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.2002, allocations: 217.5 kB / 0.8368 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2003, allocations: 4 kB / 0.8368 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.2003, allocations: 0 / 0.8368 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.2003, allocations: 4 kB / 0.8368 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.2014, allocations: 286.1 kB / 0.8371 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.2028, allocations: 0.5706 MB / 0.8376 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.2033, allocations: 170.5 kB / 0.8378 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.2039, allocations: 157 kB / 0.8379 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008337/0.2047, allocations: 0.5571 MB / 0.8385 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.2048, allocations: 34.56 kB / 0.8385 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.2048, allocations: 0 / 0.8385 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.00171/0.2065, allocations: 481 kB / 0.839 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.2066, allocations: 55.41 kB / 0.839 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.2068, allocations: 264.6 kB / 0.8393 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.2068, allocations: 29.7 kB / 0.8393 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.2069, allocations: 151.9 kB / 0.8394 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.207, allocations: 47.36 kB / 0.8395 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.33e-05/0.2071, allocations: 37.69 kB / 0.8395 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2072, allocations: 338.8 kB / 0.8398 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/0.2077, allocations: 147.9 kB / 0.84 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.2083, allocations: 151.7 kB / 0.8401 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.2093, allocations: 291.4 kB / 0.8404 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2093, allocations: 0 / 0.8404 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001161/0.2105, allocations: 365 kB / 0.8408 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2105, allocations: 4 kB / 0.8408 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2105, allocations: 7.938 kB / 0.8408 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2105, allocations: 4 kB / 0.8408 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.211, allocations: 71.84 kB / 0.8408 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.211, allocations: 4 kB / 0.8408 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.2114, allocations: 47.73 kB / 0.8409 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.2114, allocations: 11.98 kB / 0.8409 GB, free: 2.645 MB / 0.6544 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.0001271/0.2115, allocations: 121.8 kB / 0.841 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.2116, allocations: 23.72 kB / 0.841 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.2129, allocations: 391.2 kB / 0.8414 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2129, allocations: 0 / 0.8414 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2129, allocations: 0 / 0.8414 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.2129, allocations: 3.938 kB / 0.8414 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.2133, allocations: 301.4 kB / 0.8417 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2133, allocations: 0 / 0.8417 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.2137, allocations: 67.91 kB / 0.8418 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.2137, allocations: 4 kB / 0.8418 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.2137, allocations: 0 / 0.8418 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2137, allocations: 0 / 0.8418 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2138, allocations: 4 kB / 0.8418 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.2149, allocations: 450.2 kB / 0.8422 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.2151, allocations: 124.7 kB / 0.8423 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.2151, allocations: 0 / 0.8423 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.2155, allocations: 43.94 kB / 0.8424 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.2156, allocations: 15.98 kB / 0.8424 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.2156, allocations: 11.92 kB / 0.8424 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001691/0.2158, allocations: 183.1 kB / 0.8426 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2158, allocations: 0 / 0.8426 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003648/0.2162, allocations: 71.89 kB / 0.8426 GB, free: 0.7656 MB / 0.6544 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.0002587/0.2164, allocations: 138.4 kB / 0.8428 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.2176, allocations: 323.7 kB / 0.8431 GB, free: 316 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2176, allocations: 0 / 0.8431 GB, free: 316 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005494/0.2182, allocations: 171.8 kB / 0.8432 GB, free: 144 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.2187, allocations: 34.97 kB / 0.8433 GB, free: 112 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.2198, allocations: 0.4977 MB / 0.8438 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.2202, allocations: 0.7474 MB / 0.8445 GB, free: 14.81 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000223/0.2204, allocations: 45.39 kB / 0.8445 GB, free: 14.77 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.2205, allocations: 27.41 kB / 0.8446 GB, free: 14.74 MB / 0.67 GB Notification: Performance of SimCode: time 3.9e-07/0.2205, allocations: 0 / 0.8446 GB, free: 14.74 MB / 0.67 GB Notification: Performance of Templates: time 0.006417/0.2269, allocations: 3.298 MB / 0.8478 GB, free: 11.47 MB / 0.67 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)