Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 101.4 kB / 16.27 MB, free: 6.418 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.001278/0.001278, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.443/1.443, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.3 MB / 0.5495 GB, free: 17.4 MB / 462.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.001586/0.001586, allocations: 71.89 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2285, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003876/0.2325, allocations: 1.892 MB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4403/0.6727, allocations: 3.447 MB / 0.7892 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.673, allocations: 0 / 0.7892 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.6734, allocations: 52.61 kB / 0.7893 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.6741, allocations: 129.4 kB / 0.7894 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.6742, allocations: 20.66 kB / 0.7894 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.6745, allocations: 170.1 kB / 0.7896 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.6746, allocations: 32.61 kB / 0.7896 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.6748, allocations: 79.42 kB / 0.7897 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.675, allocations: 83.72 kB / 0.7898 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.6751, allocations: 9.375 kB / 0.7898 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.6752, allocations: 35.27 kB / 0.7898 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.6753, allocations: 35.84 kB / 0.7899 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.6754, allocations: 74.38 kB / 0.7899 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.6757, allocations: 157.9 kB / 0.7901 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6758, allocations: 0 / 0.7901 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6758, allocations: 3.375 kB / 0.7901 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.6758, allocations: 0.8438 kB / 0.7901 GB, free: 46.41 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001034/0.6768, allocations: 0.5019 MB / 0.7906 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.6769, allocations: 10.19 kB / 0.7906 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.154e-05/0.677, allocations: 20.19 kB / 0.7906 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.6774, allocations: 249.1 kB / 0.7908 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.6774, allocations: 3.594 kB / 0.7908 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.6775, allocations: 10.31 kB / 0.7909 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.6779, allocations: 135.8 kB / 0.791 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.678, allocations: 0 / 0.791 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.678, allocations: 1.969 kB / 0.791 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/0.6781, allocations: 15.66 kB / 0.791 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006035/0.6787, allocations: 138.8 kB / 0.7911 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008904/0.6796, allocations: 443.4 kB / 0.7916 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/0.6801, allocations: 161.4 kB / 0.7917 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.6805, allocations: 103.8 kB / 0.7918 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.6806, allocations: 7.297 kB / 0.7918 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.6806, allocations: 34.19 kB / 0.7919 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 2.525e-06/0.6806, allocations: 0 / 0.7919 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.001158/0.6818, allocations: 283.3 kB / 0.7921 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.6818, allocations: 51.41 kB / 0.7922 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.6821, allocations: 207.3 kB / 0.7924 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.6821, allocations: 28.27 kB / 0.7924 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.6822, allocations: 117.6 kB / 0.7925 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.026e-05/0.6822, allocations: 42.88 kB / 0.7926 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.843e-05/0.6823, allocations: 37.97 kB / 0.7926 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.6824, allocations: 337.2 kB / 0.7929 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.6827, allocations: 67.11 kB / 0.793 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.6831, allocations: 73.67 kB / 0.793 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006187/0.6837, allocations: 157.2 kB / 0.7932 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6837, allocations: 0 / 0.7932 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007394/0.6845, allocations: 214.7 kB / 0.7934 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.6845, allocations: 5.969 kB / 0.7934 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6845, allocations: 7.219 kB / 0.7934 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.6845, allocations: 1.922 kB / 0.7934 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.6849, allocations: 33.22 kB / 0.7934 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.6849, allocations: 0 / 0.7934 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.6851, allocations: 24.39 kB / 0.7935 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.6852, allocations: 7.156 kB / 0.7935 GB, free: 44.63 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 (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 prepare postOptimizeDAE: time 0.0001296/0.6853, allocations: 128.3 kB / 0.7936 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/0.6854, allocations: 23.66 kB / 0.7936 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.843e-05/0.6855, allocations: 24.59 kB / 0.7936 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6855, allocations: 3.375 kB / 0.7936 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.443e-06/0.6855, allocations: 4 kB / 0.7936 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.6855, allocations: 2.062 kB / 0.7937 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.6859, allocations: 258.3 kB / 0.7939 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6859, allocations: 0 / 0.7939 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.6862, allocations: 39.14 kB / 0.7939 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6862, allocations: 0 / 0.7939 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.6863, allocations: 3.469 kB / 0.7939 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6863, allocations: 2.438 kB / 0.7939 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6863, allocations: 0 / 0.7939 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007535/0.687, allocations: 308.7 kB / 0.7942 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.6872, allocations: 114.3 kB / 0.7943 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.6872, allocations: 3.5 kB / 0.7943 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.6875, allocations: 20.02 kB / 0.7944 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.017e-05/0.6876, allocations: 11.12 kB / 0.7944 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.6876, allocations: 8.344 kB / 0.7944 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001582/0.6878, allocations: 153.8 kB / 0.7945 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.6878, allocations: 0 / 0.7945 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004376/0.6882, allocations: 39.62 kB / 0.7946 GB, free: 43.96 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.0001949/0.6885, allocations: 103.9 kB / 0.7947 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007599/0.6892, allocations: 188 kB / 0.7948 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.6892, allocations: 0 / 0.7948 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.6896, allocations: 92.12 kB / 0.7949 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/0.6902, allocations: 29.73 kB / 0.795 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.6913, allocations: 433.6 kB / 0.7954 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.6915, allocations: 0.741 MB / 0.7961 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.6917, allocations: 19.16 kB / 0.7961 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of SimCode: time 7.21e-07/0.6917, allocations: 0 / 0.7961 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.005936/0.6976, allocations: 2.226 MB / 0.7983 GB, free: 42.81 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)