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.001308/0.001308, allocations: 105.3 kB / 16.36 MB, free: 6.305 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.001452/0.001452, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.68/1.68, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.965/1.965, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001526/0.001526, allocations: 71.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3179, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003078/0.321, allocations: 1.539 MB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001192/0.3212, allocations: 31.84 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.3212, allocations: 0 / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.3214, allocations: 11.92 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.057e-05/0.3214, allocations: 11.88 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.3216, allocations: 19.97 kB / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.3217, allocations: 39.91 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.3218, allocations: 39.95 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/0.3219, allocations: 19.92 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.3219, allocations: 27.86 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.322, allocations: 4 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.322, allocations: 8 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.565e-05/0.322, allocations: 19.92 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.3221, allocations: 27.86 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.3222, allocations: 59.62 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3222, allocations: 0 / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3222, allocations: 0 / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.3222, allocations: 0 / 0.7866 GB, free: 1.289 MB / 0.6544 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.0004371/0.3227, allocations: 367.3 kB / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.3227, allocations: 12.03 kB / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.3228, allocations: 12.84 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.3229, allocations: 184.3 kB / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.323, allocations: 4.375 kB / 0.7871 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.323, allocations: 8.375 kB / 0.7871 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3231, allocations: 92.75 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3232, allocations: 192 / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.3232, allocations: 15.88 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3232, allocations: 3.984 kB / 0.7873 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.3233, allocations: 43.92 kB / 0.7873 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.574/0.8973, allocations: 0.6355 MB / 0.7879 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.282e-05/0.8975, allocations: 168.5 kB / 0.7881 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.8975, allocations: 81.36 kB / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.8975, allocations: 78.12 kB / 0.7882 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.8976, allocations: 110.3 kB / 0.7883 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/0.8976, allocations: 1.5 kB / 0.7883 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 9.426e-05/0.8977, allocations: 39.39 kB / 0.7884 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.8977, allocations: 130.8 kB / 0.7885 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.8979, allocations: 169.4 kB / 0.7887 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.8979, allocations: 27.02 kB / 0.7887 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.898, allocations: 102.9 kB / 0.7888 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-06/0.898, allocations: 0 / 0.7888 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.8981, allocations: 16.08 kB / 0.7888 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.8981, allocations: 320.9 kB / 0.7891 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.8982, allocations: 5.719 kB / 0.7891 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.8982, allocations: 20.73 kB / 0.7891 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.184e-05/0.8982, allocations: 31.28 kB / 0.7892 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8982, allocations: 1 kB / 0.7892 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001257/0.8984, allocations: 60.7 kB / 0.7892 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.8984, allocations: 3.156 kB / 0.7892 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8984, allocations: 6.156 kB / 0.7892 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.8984, allocations: 0.7031 kB / 0.7892 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.8985, allocations: 5.844 kB / 0.7892 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.8985, allocations: 6.859 kB / 0.7892 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.828e-05/0.8986, allocations: 11.92 kB / 0.7893 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.8986, allocations: 1.219 kB / 0.7893 GB, free: 47.18 MB / 0.6544 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 7.702e-05/0.8987, allocations: 195.3 kB / 0.7894 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.8987, allocations: 119.9 kB / 0.7896 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.8988, allocations: 117.8 kB / 0.7897 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/0.8988, allocations: 182.6 kB / 0.7898 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.311e-05/0.8988, allocations: 182.6 kB / 0.79 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.332e-05/0.8989, allocations: 182.3 kB / 0.7902 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.899, allocations: 424.4 kB / 0.7906 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/0.8991, allocations: 107.6 kB / 0.7907 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.865e-05/0.8991, allocations: 105.2 kB / 0.7908 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.099e-05/0.8991, allocations: 185.1 kB / 0.791 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.744e-05/0.8992, allocations: 181.6 kB / 0.7911 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.942e-05/0.8992, allocations: 183 kB / 0.7913 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.073e-05/0.8993, allocations: 178.9 kB / 0.7915 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.191e-05/0.8993, allocations: 309 kB / 0.7918 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.8994, allocations: 193.9 kB / 0.792 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.8994, allocations: 182.2 kB / 0.7921 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.8995, allocations: 105 kB / 0.7922 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.8996, allocations: 186.5 kB / 0.7924 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.8996, allocations: 106.4 kB / 0.7925 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.092e-05/0.8997, allocations: 126.5 kB / 0.7926 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8997, allocations: 0 / 0.7926 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002114/0.8999, allocations: 6.5 kB / 0.7927 GB, free: 43.7 MB / 0.6544 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.0001296/0.9, allocations: 178.5 kB / 0.7928 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.33e-05/0.9001, allocations: 10.41 kB / 0.7928 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9001, allocations: 0 / 0.7928 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.9001, allocations: 1 kB / 0.7928 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.9004, allocations: 462.9 kB / 0.7933 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.9008, allocations: 264.1 kB / 0.7935 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.9009, allocations: 0.6934 MB / 0.7942 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.901, allocations: 10.34 kB / 0.7942 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.901, allocations: 4.188 kB / 0.7942 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.002316/0.9033, allocations: 0.8031 MB / 0.795 GB, free: 42.16 MB / 0.6544 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)