Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00118/0.00118, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.305/1.305, allocations: 205.1 MB / 222.1 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.566/0.566, allocations: 95.47 MB / 364.9 MB, free: 10.08 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 68.33 kB / 444.9 MB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2902, allocations: 69.07 MB / 0.5019 GB, free: 17.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001944/0.2922, allocations: 1.294 MB / 0.5031 GB, free: 16.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002152/0.2924, allocations: 111.5 kB / 0.5032 GB, free: 16.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.2924, allocations: 4 kB / 0.5033 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.2925, allocations: 3.984 kB / 0.5033 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.337e-05/0.2925, allocations: 4 kB / 0.5033 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.2927, allocations: 35.89 kB / 0.5033 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.058e-05/0.2928, allocations: 11.94 kB / 0.5033 GB, free: 16.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.2928, allocations: 4 kB / 0.5033 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.79e-05/0.2928, allocations: 3.984 kB / 0.5033 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.2929, allocations: 7.938 kB / 0.5033 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.2929, allocations: 0 / 0.5033 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.9e-05/0.293, allocations: 51.94 kB / 0.5034 GB, free: 16.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.293, allocations: 8 kB / 0.5034 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.293, allocations: 0 / 0.5034 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.584e-05/0.2931, allocations: 47.88 kB / 0.5034 GB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2931, allocations: 0 / 0.5034 GB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2931, allocations: 0 / 0.5034 GB, free: 15.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.2932, allocations: 0 / 0.5034 GB, free: 15.98 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002954/0.2935, allocations: 333.4 kB / 0.5037 GB, free: 15.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.2935, allocations: 11.98 kB / 0.5038 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.2935, allocations: 0.9375 kB / 0.5038 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.732e-05/0.2936, allocations: 168.3 kB / 0.5039 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.2936, allocations: 12.38 kB / 0.5039 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.2936, allocations: 384 / 0.5039 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.432e-05/0.2937, allocations: 30.27 kB / 0.504 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.2937, allocations: 192 / 0.504 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2937, allocations: 3.938 kB / 0.504 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2938, allocations: 0 / 0.504 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/0.2938, allocations: 4 kB / 0.504 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001067/0.2939, allocations: 157.7 kB / 0.5041 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.704e-05/0.2939, allocations: 26.52 kB / 0.5041 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.294, allocations: 12.92 kB / 0.5042 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000526/0.2945, allocations: 0.6012 MB / 0.5047 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.2945, allocations: 38.5 kB / 0.5048 GB, free: 14.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2945, allocations: 0 / 0.5048 GB, free: 14.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001244/0.2947, allocations: 57.56 kB / 0.5048 GB, free: 14.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.93e-05/0.2947, allocations: 51.41 kB / 0.5049 GB, free: 14.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.74e-05/0.2947, allocations: 97.86 kB / 0.505 GB, free: 14.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.2947, allocations: 29.64 kB / 0.505 GB, free: 14.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.814e-05/0.2948, allocations: 84.14 kB / 0.5051 GB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.2948, allocations: 7.891 kB / 0.5051 GB, free: 13.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.2948, allocations: 13.72 kB / 0.5051 GB, free: 13.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.2949, allocations: 314.8 kB / 0.5054 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.2949, allocations: 4.031 kB / 0.5054 GB, free: 13.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-06/0.2949, allocations: 4 kB / 0.5054 GB, free: 13.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.275e-05/0.2949, allocations: 12.86 kB / 0.5054 GB, free: 13.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2949, allocations: 0 / 0.5054 GB, free: 13.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.624e-05/0.295, allocations: 37.69 kB / 0.5055 GB, free: 13.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.295, allocations: 8 kB / 0.5055 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.295, allocations: 3.938 kB / 0.5055 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.295, allocations: 0 / 0.5055 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.713e-05/0.2951, allocations: 7.938 kB / 0.5055 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2951, allocations: 4.094 kB / 0.5055 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/0.2951, allocations: 0 / 0.5055 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.2951, allocations: 0 / 0.5055 GB, free: 13.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 4.276e-05/0.2952, allocations: 113.8 kB / 0.5056 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-06/0.2952, allocations: 3.984 kB / 0.5056 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.67e-05/0.2953, allocations: 52.7 kB / 0.5056 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.2953, allocations: 192 / 0.5056 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2953, allocations: 0 / 0.5056 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2953, allocations: 12 kB / 0.5057 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.819e-05/0.2953, allocations: 145.7 kB / 0.5058 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2954, allocations: 0 / 0.5058 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.899e-05/0.2954, allocations: 4 kB / 0.5058 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2954, allocations: 3.984 kB / 0.5058 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.2954, allocations: 7.875 kB / 0.5058 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2954, allocations: 0 / 0.5058 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2954, allocations: 4 kB / 0.5058 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.199e-05/0.2955, allocations: 61.14 kB / 0.5059 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.2955, allocations: 92.94 kB / 0.506 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.2955, allocations: 3.938 kB / 0.506 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.623e-05/0.2955, allocations: 4 kB / 0.506 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.2955, allocations: 0 / 0.506 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2955, allocations: 4 kB / 0.506 GB, free: 12.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.812e-05/0.2956, allocations: 79.28 kB / 0.506 GB, free: 12.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2956, allocations: 0 / 0.506 GB, free: 12.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001812/0.2958, allocations: 16 kB / 0.5061 GB, free: 12.82 MB / 382.1 MB 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 (2): * Single equations (assignments): 2 * 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.0001275/0.2959, allocations: 127.1 kB / 0.5062 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.436e-05/0.296, allocations: 15.94 kB / 0.5062 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.296, allocations: 0 / 0.5062 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.869e-06/0.296, allocations: 7.984 kB / 0.5062 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.2962, allocations: 4 kB / 0.5062 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.2964, allocations: 106.2 kB / 0.5063 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.73e-05/0.2966, allocations: 0.6729 MB / 0.507 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.295e-05/0.2966, allocations: 0 / 0.507 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.227e-05/0.2966, allocations: 11.44 kB / 0.507 GB, free: 11.81 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2966, allocations: 0 / 0.507 GB, free: 11.81 MB / 382.1 MB Notification: Performance of Templates: time 0.002255/0.2989, allocations: 0.5995 MB / 0.5076 GB, free: 11.21 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)