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.001328/0.001328, allocations: 110.2 kB / 16.36 MB, free: 6.012 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.001111/0.001111, allocations: 193.8 kB / 17.3 MB, free: 5.613 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.311/1.311, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.773/1.773, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001439/0.001439, allocations: 75.89 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2319, 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.002764/0.2347, allocations: 1.531 MB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 9.699e-05/0.2348, allocations: 35.84 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.2349, allocations: 0 / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.235, allocations: 11.92 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.751e-05/0.235, allocations: 3.938 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 9.907e-05/0.2351, allocations: 19.97 kB / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.415e-05/0.2352, allocations: 51.83 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.2354, allocations: 31.98 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.353e-05/0.2354, allocations: 15.94 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.2355, allocations: 31.84 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.2355, allocations: 8 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.2355, allocations: 4 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.2356, allocations: 15.92 kB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.2356, allocations: 23.88 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.759e-05/0.2357, allocations: 59.67 kB / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.2357, allocations: 8 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.966e-06/0.2358, allocations: 0 / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2358, allocations: 3.938 kB / 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.0003656/0.2361, allocations: 366.2 kB / 0.7869 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2362, allocations: 12.03 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.2362, allocations: 8.844 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.2364, allocations: 180.3 kB / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.2364, allocations: 384 / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.2364, allocations: 16.36 kB / 0.7871 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.2366, allocations: 96.75 kB / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.2366, allocations: 192 / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.2366, allocations: 11.88 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2366, allocations: 4 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.421e-05/0.2367, allocations: 35.97 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.362/0.5987, allocations: 0.6465 MB / 0.7879 GB, free: 49.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.671e-05/0.5988, allocations: 168.3 kB / 0.7881 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.5989, allocations: 81.73 kB / 0.7882 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.5989, allocations: 76.72 kB / 0.7882 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.5989, allocations: 108.2 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.344e-06/0.5989, allocations: 3.969 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.445e-05/0.599, allocations: 41.77 kB / 0.7884 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.5991, allocations: 128.1 kB / 0.7885 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.5992, allocations: 171.2 kB / 0.7887 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.5993, allocations: 25.7 kB / 0.7887 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.5993, allocations: 102 kB / 0.7888 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.5993, allocations: 0.5625 kB / 0.7888 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.5994, allocations: 14 kB / 0.7888 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.311e-05/0.5994, allocations: 321.5 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.5995, allocations: 8.281 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.5995, allocations: 24.08 kB / 0.7891 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.5995, allocations: 30.02 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5995, allocations: 0.6562 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000117/0.5997, allocations: 63.17 kB / 0.7892 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.5997, allocations: 6.312 kB / 0.7892 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5997, allocations: 3.562 kB / 0.7892 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.5997, allocations: 0.75 kB / 0.7892 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.5998, allocations: 5.625 kB / 0.7892 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.5998, allocations: 9.281 kB / 0.7893 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.5998, allocations: 11.69 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.5999, allocations: 2.906 kB / 0.7893 GB, free: 47.86 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 6.026e-05/0.5999, allocations: 189.5 kB / 0.7894 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.6, allocations: 115.3 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.6, allocations: 123.1 kB / 0.7897 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-05/0.6, allocations: 180.2 kB / 0.7898 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-05/0.6001, allocations: 187.2 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.6001, allocations: 179.2 kB / 0.7902 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.6002, allocations: 429 kB / 0.7906 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.6003, allocations: 101.9 kB / 0.7907 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-05/0.6003, allocations: 105.4 kB / 0.7908 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.652e-05/0.6003, allocations: 185.7 kB / 0.791 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.6003, allocations: 184.3 kB / 0.7912 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.288e-05/0.6004, allocations: 177.7 kB / 0.7913 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.38e-05/0.6004, allocations: 182.8 kB / 0.7915 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.586e-05/0.6005, allocations: 309.9 kB / 0.7918 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.6005, allocations: 190.9 kB / 0.792 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.6006, allocations: 182.6 kB / 0.7922 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.6006, allocations: 108.1 kB / 0.7923 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.6007, allocations: 181.1 kB / 0.7924 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.6007, allocations: 105.5 kB / 0.7925 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.52e-05/0.6008, allocations: 130.2 kB / 0.7927 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6008, allocations: 0 / 0.7927 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002233/0.601, allocations: 6.156 kB / 0.7927 GB, free: 44.38 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 8.725e-05/0.6011, allocations: 178.1 kB / 0.7928 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 5.569e-05/0.6012, allocations: 5.375 kB / 0.7928 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6012, allocations: 1.656 kB / 0.7928 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/0.6012, allocations: 5.219 kB / 0.7928 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.6015, allocations: 460.7 kB / 0.7933 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.6017, allocations: 230.2 kB / 0.7935 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.6018, allocations: 0.6968 MB / 0.7942 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.695e-05/0.6019, allocations: 3.031 kB / 0.7942 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.6019, allocations: 11.31 kB / 0.7942 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.6019, allocations: 0 / 0.7942 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.002579/0.6045, allocations: 436.2 kB / 0.7946 GB, free: 42.88 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)