Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001157/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001223/0.001223, allocations: 193.1 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.393/2.393, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 64.95 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2342, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002323/0.2366, allocations: 1.605 MB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.034e-05/0.2367, allocations: 31.86 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.2367, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.694e-05/0.2368, allocations: 7.922 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.773e-05/0.2369, allocations: 3.938 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.196e-05/0.237, allocations: 27.91 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.96e-05/0.237, allocations: 43.91 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.2371, allocations: 27.98 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.704e-05/0.2372, allocations: 19.92 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.2372, allocations: 23.86 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.2372, allocations: 4 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.2373, allocations: 8 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.2373, allocations: 15.92 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.2374, allocations: 27.86 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.216e-05/0.2374, allocations: 56.03 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2374, allocations: 4 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.71e-07/0.2374, allocations: 0 / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.846e-06/0.2374, allocations: 0 / 1.069 GB, free: 9.031 MB / 0.8262 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.0003235/0.2378, allocations: 365 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.2378, allocations: 8.031 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.2378, allocations: 16.83 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.238, allocations: 180.3 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.238, allocations: 8.312 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.238, allocations: 8.375 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.2382, allocations: 88.81 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.2382, allocations: 8.172 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.2382, allocations: 11.88 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2382, allocations: 0 / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.001e-05/0.2383, allocations: 43.98 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.2388, allocations: 0.6361 MB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.935e-05/0.2388, allocations: 177.1 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.2389, allocations: 84.12 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.2389, allocations: 75.28 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.2389, allocations: 105.8 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.994e-06/0.2389, allocations: 3.984 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 5.96e-05/0.239, allocations: 41.55 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.2391, allocations: 134.6 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.2392, allocations: 169.2 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.2392, allocations: 25.7 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.2393, allocations: 100 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.2393, allocations: 4 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.2393, allocations: 21.56 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.571e-05/0.2394, allocations: 322.8 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.2394, allocations: 4 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.2395, allocations: 22.58 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.2395, allocations: 30.52 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2395, allocations: 0 / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.74e-05/0.2396, allocations: 57.62 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.2396, allocations: 4 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2396, allocations: 7.938 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.2396, allocations: 3.938 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.718e-05/0.2397, allocations: 4 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.2397, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.268e-05/0.2397, allocations: 11.84 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.2397, allocations: 3.984 kB / 1.072 GB, free: 6.023 MB / 0.8262 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 8.677e-05/0.2398, allocations: 197.2 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.2399, allocations: 112.8 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.24, allocations: 124.6 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.992e-05/0.24, allocations: 180.3 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.507e-05/0.2401, allocations: 180.2 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.844e-05/0.2401, allocations: 176.3 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.2403, allocations: 437.2 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-05/0.2404, allocations: 101.1 kB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.2404, allocations: 105 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.196e-05/0.2404, allocations: 184.2 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/0.2405, allocations: 188.2 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.833e-05/0.2406, allocations: 180.2 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.252e-05/0.2406, allocations: 180.3 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.2407, allocations: 311.7 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.2408, allocations: 186 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/0.2409, allocations: 188.1 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.2409, allocations: 109 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.241, allocations: 184.2 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.241, allocations: 101 kB / 1.075 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.726e-05/0.2411, allocations: 129.5 kB / 1.075 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2411, allocations: 0 / 1.075 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002045/0.2413, allocations: 8 kB / 1.075 GB, free: 2.312 MB / 0.8262 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 9.905e-05/0.2415, allocations: 174.5 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.077e-05/0.2415, allocations: 7.938 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2415, allocations: 4 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.2415, allocations: 0 / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.2419, allocations: 0.5252 MB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.2421, allocations: 255.2 kB / 1.076 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.2423, allocations: 0.6887 MB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.574e-05/0.2424, allocations: 4 kB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.704e-05/0.2424, allocations: 7.438 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.2424, allocations: 4 kB / 1.077 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of Templates: time 0.001879/0.2443, allocations: 412.6 kB / 1.077 GB, free: 188 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)