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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.00119, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001041/0.001041, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.715/1.715, allocations: 251.9 MB / 0.51 GB, free: 4.82 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.0005645/0.000565, allocations: 20 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8004/0.801, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002088/0.8031, allocations: 1.238 MB / 0.7292 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000133/0.8033, allocations: 27.92 kB / 0.7292 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.088e-05/0.8034, allocations: 7.938 kB / 0.7292 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.8035, allocations: 11.98 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.193e-05/0.8036, allocations: 7.922 kB / 0.7292 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.8037, allocations: 15.98 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.8039, allocations: 27.97 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.804, allocations: 23.97 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.8041, allocations: 15.94 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.88e-05/0.8042, allocations: 23.86 kB / 0.7293 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.8042, allocations: 3.938 kB / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.8042, allocations: 4 kB / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.913e-05/0.8043, allocations: 15.97 kB / 0.7294 GB, free: 10 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.8043, allocations: 33.64 kB / 0.7294 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.426e-05/0.8044, allocations: 45.83 kB / 0.7294 GB, free: 9.922 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.8044, allocations: 0 / 0.7294 GB, free: 9.922 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8044, allocations: 0 / 0.7294 GB, free: 9.922 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.8044, allocations: 0 / 0.7294 GB, free: 9.922 MB / 0.545 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.000463/0.8049, allocations: 351.2 kB / 0.7298 GB, free: 9.531 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.805, allocations: 8.031 kB / 0.7298 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.805, allocations: 19.84 kB / 0.7298 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.8053, allocations: 175 kB / 0.73 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.8053, allocations: 11.98 kB / 0.73 GB, free: 9.281 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.8053, allocations: 4 kB / 0.73 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.8055, allocations: 103.4 kB / 0.7301 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.8055, allocations: 4 kB / 0.7301 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.8056, allocations: 4 kB / 0.7301 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.8056, allocations: 0 / 0.7301 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-05/0.8057, allocations: 43.92 kB / 0.7301 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007005/0.8064, allocations: 0.6439 MB / 0.7308 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.471e-05/0.8065, allocations: 165.1 kB / 0.7309 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.8065, allocations: 83.27 kB / 0.731 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.553e-05/0.8066, allocations: 113.8 kB / 0.7311 GB, free: 8.035 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.8066, allocations: 4 kB / 0.7311 GB, free: 8.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.415e-05/0.8067, allocations: 37.64 kB / 0.7311 GB, free: 7.988 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.8068, allocations: 130.6 kB / 0.7313 GB, free: 7.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.807, allocations: 169.2 kB / 0.7314 GB, free: 7.676 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.807, allocations: 25.7 kB / 0.7315 GB, free: 7.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.8071, allocations: 108 kB / 0.7316 GB, free: 7.535 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.8071, allocations: 0 / 0.7316 GB, free: 7.535 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.8071, allocations: 0 / 0.7316 GB, free: 7.535 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8072, allocations: 326.8 kB / 0.7319 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.8073, allocations: 0 / 0.7319 GB, free: 7.207 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.683e-05/0.8073, allocations: 22.58 kB / 0.7319 GB, free: 7.176 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.8073, allocations: 11.89 kB / 0.7319 GB, free: 7.164 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8073, allocations: 0 / 0.7319 GB, free: 7.164 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001377/0.8075, allocations: 61.53 kB / 0.732 GB, free: 7.098 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.8075, allocations: 12.09 kB / 0.732 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.8075, allocations: 0 / 0.732 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.8075, allocations: 0 / 0.732 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/0.8076, allocations: 4 kB / 0.732 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.8076, allocations: 0 / 0.732 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.59e-05/0.8077, allocations: 11.84 kB / 0.732 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.8077, allocations: 0 / 0.732 GB, free: 7.07 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.8078, allocations: 201.1 kB / 0.7322 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-05/0.8079, allocations: 116.8 kB / 0.7323 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.808, allocations: 108.9 kB / 0.7324 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.655e-05/0.8081, allocations: 180.2 kB / 0.7326 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.841e-05/0.8082, allocations: 184.2 kB / 0.7327 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.547e-05/0.8083, allocations: 176.3 kB / 0.7329 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.8086, allocations: 437.1 kB / 0.7333 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-05/0.8087, allocations: 104.9 kB / 0.7334 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.8087, allocations: 101 kB / 0.7335 GB, free: 5.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/0.8088, allocations: 184.2 kB / 0.7337 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.8089, allocations: 176.3 kB / 0.7339 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.572e-05/0.809, allocations: 188.2 kB / 0.734 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-05/0.8091, allocations: 180.3 kB / 0.7342 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.8093, allocations: 307.9 kB / 0.7345 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.8094, allocations: 201.9 kB / 0.7347 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.8096, allocations: 184.2 kB / 0.7349 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.8097, allocations: 101 kB / 0.735 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.8098, allocations: 188.1 kB / 0.7352 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.8098, allocations: 105 kB / 0.7353 GB, free: 3.496 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001156/0.8099, allocations: 129.5 kB / 0.7354 GB, free: 3.371 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8099, allocations: 0 / 0.7354 GB, free: 3.371 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002675/0.8102, allocations: 8 kB / 0.7354 GB, free: 3.363 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002075/0.8104, allocations: 174.5 kB / 0.7356 GB, free: 3.184 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.481e-05/0.8105, allocations: 15.94 kB / 0.7356 GB, free: 3.168 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.8105, allocations: 4 kB / 0.7356 GB, free: 3.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.8105, allocations: 0 / 0.7356 GB, free: 3.164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.8109, allocations: 0.5231 MB / 0.7361 GB, free: 2.637 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.8114, allocations: 242 kB / 0.7363 GB, free: 2.367 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.8118, allocations: 0.7005 MB / 0.737 GB, free: 1.641 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.327e-05/0.8118, allocations: 4 kB / 0.737 GB, free: 1.637 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.8118, allocations: 7.438 kB / 0.737 GB, free: 1.629 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.8118, allocations: 0 / 0.737 GB, free: 1.629 MB / 0.545 GB Notification: Performance of Templates: time 0.002902/0.8147, allocations: 399.8 kB / 0.7374 GB, free: 1.238 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: