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 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.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.001608/0.001608, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002021/0.002021, allocations: 197.7 kB / 16.14 MB, free: 6.688 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 72.41 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2935, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002692/0.2963, allocations: 1.308 MB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004649/0.2968, allocations: 127.5 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.497e-05/0.2968, allocations: 3.938 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.2968, allocations: 0 / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.286e-05/0.297, allocations: 3.938 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.2972, allocations: 31.95 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.2973, allocations: 19.92 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.481e-05/0.2973, allocations: 0 / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.235e-05/0.2974, allocations: 4 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.2975, allocations: 7.938 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.2975, allocations: 0 / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.2977, allocations: 55.88 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.2977, allocations: 0 / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.2977, allocations: 8 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.2979, allocations: 43.86 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2979, allocations: 7.938 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2979, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2979, allocations: 0 / 1.069 GB, free: 9.301 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004808/0.2984, allocations: 329.5 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.2985, allocations: 12.03 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.2985, allocations: 4.844 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.2987, allocations: 160.4 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.2987, allocations: 8.375 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.2987, allocations: 4.375 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.2988, allocations: 33.81 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2988, allocations: 0 / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.2989, allocations: 4 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2989, allocations: 0 / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.169e-05/0.2989, allocations: 7.938 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.2992, allocations: 149.7 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.832e-05/0.2993, allocations: 26.61 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.2994, allocations: 12.86 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009716/0.3003, allocations: 0.6052 MB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.3004, allocations: 38.5 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 3.086e-06/0.3004, allocations: 3.984 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002346/0.3007, allocations: 45.77 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.3007, allocations: 59.34 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.3009, allocations: 101.8 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3009, allocations: 25.7 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.3009, allocations: 80.14 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.301, allocations: 7.906 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.301, allocations: 9.719 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3012, allocations: 314.8 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.3013, allocations: 11.98 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.116e-05/0.3013, allocations: 0 / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.714e-05/0.3013, allocations: 16.86 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3013, allocations: 0 / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.049e-05/0.3014, allocations: 41.58 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3014, allocations: 5.25 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3015, allocations: 0 / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.3015, allocations: 4 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.3016, allocations: 3.984 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3016, allocations: 8.078 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.407e-05/0.3016, allocations: 4 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3016, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB 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 0.0001161/0.3018, allocations: 109.8 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.3018, allocations: 3.938 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.3019, allocations: 56.69 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3019, allocations: 0 / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3019, allocations: 0 / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.302, allocations: 4.031 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.3021, allocations: 157.5 kB / 1.071 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3021, allocations: 0 / 1.071 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/0.3022, allocations: 7.938 kB / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3022, allocations: 0 / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3022, allocations: 0 / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3022, allocations: 0 / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3022, allocations: 0 / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.3023, allocations: 69.12 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.3024, allocations: 81.05 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.3024, allocations: 4 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.129e-05/0.3024, allocations: 0 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.3025, allocations: 7.875 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3025, allocations: 4 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.752e-05/0.3025, allocations: 79.27 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3025, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002513/0.3028, allocations: 12 kB / 1.072 GB, free: 6.156 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 (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.0002532/0.303, allocations: 119.3 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.3032, allocations: 11.98 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3032, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.3032, allocations: 4 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3036, allocations: 11.88 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.304, allocations: 115.9 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3044, allocations: 0.677 MB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.244e-05/0.3044, allocations: 0 / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.3045, allocations: 7.438 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3045, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of Templates: time 0.003634/0.3081, allocations: 0.5899 MB / 1.073 GB, free: 4.562 MB / 0.8262 GB 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)