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.594/1.594, 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.001075/0.001075, allocations: 176 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205 MB / 0.5766 GB, free: 21.02 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.001079/0.001079, allocations: 85.25 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003647, allocations: 14.53 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3045, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002342/0.3069, allocations: 1.262 MB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001585/0.3071, allocations: 31.91 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/0.3072, allocations: 3.938 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.3074, allocations: 11.92 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.755e-05/0.3074, allocations: 0 / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.3076, allocations: 19.98 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.3077, allocations: 47.78 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.3079, allocations: 39.91 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.843e-05/0.3079, allocations: 11.92 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.427e-05/0.308, allocations: 19.92 kB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.308, allocations: 0 / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.3081, allocations: 4 kB / 0.8982 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.3081, allocations: 19.92 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.3082, allocations: 23.81 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.359e-05/0.3083, allocations: 35.94 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.3083, allocations: 3.984 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.025e-06/0.3083, allocations: 0 / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3083, allocations: 0 / 0.8982 GB, free: 66.64 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.0004738/0.3088, allocations: 351.4 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.3089, allocations: 8.031 kB / 0.8986 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.3089, allocations: 8.844 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.3091, allocations: 200.1 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.3092, allocations: 4.375 kB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.3092, allocations: 8.375 kB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.3094, allocations: 98.22 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3094, allocations: 192 / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3094, allocations: 3.938 kB / 0.8989 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3094, allocations: 0 / 0.8989 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.3095, allocations: 47.91 kB / 0.8989 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006148/0.3101, allocations: 0.6401 MB / 0.8996 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.841e-05/0.3102, allocations: 173.1 kB / 0.8997 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.3103, allocations: 84.08 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.3103, allocations: 75.28 kB / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.3103, allocations: 113.8 kB / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3104, allocations: 0 / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 8.368e-05/0.3104, allocations: 37.55 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.3105, allocations: 126.7 kB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.3107, allocations: 170.3 kB / 0.9003 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.3107, allocations: 25.7 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.3108, allocations: 107.9 kB / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-06/0.3108, allocations: 0 / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.3108, allocations: 25.66 kB / 0.9005 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.311, allocations: 314.8 kB / 0.9008 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.311, allocations: 8 kB / 0.9008 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.122e-05/0.311, allocations: 22.52 kB / 0.9008 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.3111, allocations: 26.58 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3111, allocations: 0 / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001453/0.3113, allocations: 57.53 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3113, allocations: 8 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.3113, allocations: 4 kB / 0.9009 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.3114, allocations: 3.938 kB / 0.9009 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.151e-05/0.3115, allocations: 7.938 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3115, allocations: 4 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/0.3115, allocations: 4 kB / 0.9009 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3115, allocations: 8.094 kB / 0.9009 GB, free: 63.64 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 0.0001135/0.3116, allocations: 189.1 kB / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.3117, allocations: 112.9 kB / 0.9012 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.3118, allocations: 120.7 kB / 0.9013 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-05/0.3118, allocations: 176.3 kB / 0.9015 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.404e-05/0.3119, allocations: 185.1 kB / 0.9017 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-05/0.312, allocations: 184.3 kB / 0.9018 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.3122, allocations: 421.2 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/0.3122, allocations: 104.9 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.3123, allocations: 105 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.664e-05/0.3123, allocations: 180.2 kB / 0.9026 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/0.3124, allocations: 192.2 kB / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-05/0.3125, allocations: 180.5 kB / 0.903 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.012e-05/0.3126, allocations: 188.2 kB / 0.9031 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.3128, allocations: 307.7 kB / 0.9034 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3129, allocations: 198 kB / 0.9036 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/0.313, allocations: 180.2 kB / 0.9038 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.313, allocations: 104.9 kB / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.3131, allocations: 180.3 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.3131, allocations: 108.9 kB / 0.9042 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.815e-05/0.3132, allocations: 130.5 kB / 0.9043 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.3132, allocations: 0 / 0.9043 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002155/0.3135, allocations: 8 kB / 0.9043 GB, free: 59.95 MB / 0.6042 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.0001552/0.3136, allocations: 170.5 kB / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.864e-05/0.3137, allocations: 12 kB / 0.9045 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3137, allocations: 0 / 0.9045 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.3137, allocations: 3.938 kB / 0.9045 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.3141, allocations: 0.5265 MB / 0.905 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.3145, allocations: 278.3 kB / 0.9053 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.3148, allocations: 0.6926 MB / 0.9059 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.3148, allocations: 11.44 kB / 0.9059 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of SimCode: time 8.12e-07/0.3148, allocations: 0 / 0.9059 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.00249/0.3173, allocations: 0.7919 MB / 0.9067 GB, free: 57.4 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)