Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.23/1.23, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008974/0.0008975, allocations: 170.8 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006889/0.0006889, allocations: 90.3 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.00028, allocations: 11.81 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 105.4 MB / 0.8968 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001197/0.1342, allocations: 1.262 MB / 0.898 GB, free: 66.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 8.08e-05/0.1343, allocations: 31.8 kB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.1344, allocations: 4 kB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.676e-05/0.1345, allocations: 7.922 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.519e-05/0.1345, allocations: 0 / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.995e-05/0.1346, allocations: 23.97 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.88e-05/0.1347, allocations: 47.78 kB / 0.8981 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.1348, allocations: 31.92 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.098e-05/0.1348, allocations: 15.92 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.1348, allocations: 19.92 kB / 0.8982 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1349, allocations: 0 / 0.8982 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-06/0.1349, allocations: 4 kB / 0.8982 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.1349, allocations: 15.92 kB / 0.8982 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.1349, allocations: 27.81 kB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.946e-05/0.135, allocations: 55.78 kB / 0.8983 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.135, allocations: 0 / 0.8983 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.172e-06/0.135, allocations: 0 / 0.8983 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.725e-06/0.135, allocations: 0 / 0.8983 GB, free: 66.66 MB / 0.6042 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.0002274/0.1353, allocations: 347.3 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.1353, allocations: 8.031 kB / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.1353, allocations: 8.844 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.1354, allocations: 196.1 kB / 0.8988 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.1354, allocations: 8.375 kB / 0.8988 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.1355, allocations: 8.375 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.1356, allocations: 93.94 kB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.1356, allocations: 192 / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1356, allocations: 7.938 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1356, allocations: 7.984 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.831e-05/0.1357, allocations: 39.92 kB / 0.899 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.136, allocations: 0.6401 MB / 0.8996 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.879e-05/0.1361, allocations: 169.1 kB / 0.8997 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.211e-05/0.1361, allocations: 84.14 kB / 0.8998 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.1361, allocations: 83.2 kB / 0.8999 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.267e-05/0.1361, allocations: 105.8 kB / 0.9 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1361, allocations: 0 / 0.9 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.142e-05/0.1362, allocations: 41.55 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.33e-05/0.1362, allocations: 51.41 kB / 0.9001 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1363, allocations: 170.3 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.988e-06/0.1363, allocations: 25.7 kB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.1364, allocations: 111.9 kB / 0.9004 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-06/0.1364, allocations: 4 kB / 0.9004 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.1364, allocations: 9.719 kB / 0.9004 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.062e-05/0.1364, allocations: 318.8 kB / 0.9007 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.1364, allocations: 11.88 kB / 0.9007 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.1365, allocations: 26.58 kB / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.473e-05/0.1365, allocations: 18.58 kB / 0.9008 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1365, allocations: 4 kB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.37e-05/0.1366, allocations: 61.53 kB / 0.9008 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.1366, allocations: 4 kB / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1366, allocations: 3.984 kB / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.1366, allocations: 8.031 kB / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.4e-05/0.1367, allocations: 15.94 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1367, allocations: 0 / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.1367, allocations: 4 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-06/0.1367, allocations: 0 / 0.9008 GB, free: 63.74 MB / 0.6042 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 4.445e-05/0.1368, allocations: 193.1 kB / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.1368, allocations: 108.9 kB / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.1368, allocations: 120.8 kB / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.1368, allocations: 184.2 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.1369, allocations: 109.8 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.1369, allocations: 182 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1369, allocations: 184.2 kB / 0.9019 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.016e-05/0.137, allocations: 104.9 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.137, allocations: 184.3 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 2.42e-05/0.137, allocations: 255.5 kB / 0.9024 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 5.637e-05/0.1371, allocations: 395.2 kB / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.474e-05/0.1371, allocations: 108.9 kB / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.689e-05/0.1372, allocations: 130.5 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of Backend: time 2.9e-07/0.1372, allocations: 3.938 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.1374, allocations: 86.39 kB / 0.9031 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002971/0.1377, allocations: 0.9981 MB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.001643/0.1394, allocations: 460.5 kB / 0.9045 GB, free: 59.82 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)