Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009838/0.0009837, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009497/0.0009497, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.188/1.188, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.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.5/1.5, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.00127/0.00127, allocations: 70.48 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1913, allocations: 114.6 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002692/0.1941, allocations: 1.596 MB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000101/0.1942, allocations: 35.78 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.1943, allocations: 0 / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.1944, allocations: 7.875 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.17e-05/0.1945, allocations: 7.938 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001012/0.1946, allocations: 19.97 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.975e-05/0.1946, allocations: 39.91 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1948, allocations: 31.98 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.139e-05/0.1948, allocations: 23.92 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.713e-05/0.1949, allocations: 31.84 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.1949, allocations: 4 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.1949, allocations: 4 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.195, allocations: 23.92 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.195, allocations: 19.88 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.072e-05/0.1951, allocations: 64.02 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1951, allocations: 0 / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1951, allocations: 0 / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1951, allocations: 0 / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003485/0.1955, allocations: 367.2 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1955, allocations: 12.03 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.1956, allocations: 8.844 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.1957, allocations: 184.3 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1957, allocations: 4.375 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.1958, allocations: 8.375 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1959, allocations: 96.73 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1959, allocations: 192 / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.196, allocations: 11.94 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.196, allocations: 0 / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.659e-05/0.196, allocations: 43.97 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.1965, allocations: 0.6439 MB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.527e-05/0.1966, allocations: 169.1 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.1967, allocations: 81.2 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.1967, allocations: 75.28 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.1967, allocations: 113.8 kB / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.1967, allocations: 0 / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.154e-05/0.1968, allocations: 49.45 kB / 0.7865 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.1969, allocations: 130.7 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.197, allocations: 165.5 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.1971, allocations: 25.7 kB / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.1971, allocations: 107.9 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.1971, allocations: 0 / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.1972, allocations: 13.72 kB / 0.7869 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.1973, allocations: 314.8 kB / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.1973, allocations: 15.92 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-05/0.1973, allocations: 22.58 kB / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.949e-05/0.1974, allocations: 30.52 kB / 0.7873 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1974, allocations: 0 / 0.7873 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001102/0.1975, allocations: 61.47 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1975, allocations: 8.094 kB / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1975, allocations: 0 / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1975, allocations: 3.938 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.1976, allocations: 12 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1976, allocations: 0 / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.1976, allocations: 7.938 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.1976, allocations: 0 / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001055/0.1978, allocations: 193.1 kB / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.1978, allocations: 116.8 kB / 0.7877 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.1979, allocations: 116.8 kB / 0.7878 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-05/0.1979, allocations: 184.2 kB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.317e-05/0.198, allocations: 180.3 kB / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.838e-05/0.198, allocations: 176.3 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.1982, allocations: 433.2 kB / 0.7887 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.735e-05/0.1983, allocations: 109.1 kB / 0.7888 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.1983, allocations: 108.9 kB / 0.7889 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.364e-05/0.1984, allocations: 176.3 kB / 0.7891 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.791e-05/0.1985, allocations: 180.2 kB / 0.7893 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.583e-05/0.1985, allocations: 188.2 kB / 0.7895 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.526e-05/0.1986, allocations: 180.3 kB / 0.7896 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.1987, allocations: 307.7 kB / 0.7899 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.1988, allocations: 194 kB / 0.7901 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/0.1989, allocations: 184.1 kB / 0.7903 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.116e-05/0.199, allocations: 105 kB / 0.7904 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.199, allocations: 184.2 kB / 0.7906 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.1991, allocations: 101 kB / 0.7907 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001045/0.1992, allocations: 133.5 kB / 0.7908 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1992, allocations: 0 / 0.7908 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001995/0.1994, allocations: 4 kB / 0.7908 GB, free: 5.246 MB / 0.6075 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 (0): * Single equations (assignments): 0 * 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.0001247/0.1995, allocations: 174.5 kB / 0.791 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.132e-05/0.1996, allocations: 15.94 kB / 0.791 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1996, allocations: 0 / 0.791 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.1996, allocations: 0 / 0.791 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.1999, allocations: 459.7 kB / 0.7914 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.2003, allocations: 248.6 kB / 0.7916 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2005, allocations: 0.7039 MB / 0.7923 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.2006, allocations: 7.719 kB / 0.7923 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.2006, allocations: 11.44 kB / 0.7923 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2006, allocations: 0 / 0.7923 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of Templates: time 0.001889/0.2025, allocations: 432.6 kB / 0.7928 GB, free: 3.16 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)