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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.6227/0.6227, allocations: 94.77 MB / 102.2 MB, free: 14.1 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001054/0.001054, allocations: 168.1 kB / 125.6 MB, free: 7.922 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.583/1.583, allocations: 170.6 MB / 319.4 MB, free: 1.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001761/0.001761, allocations: 111.2 kB / 381.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.591e-05, allocations: 0 / 449.1 MB, free: 44.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1553, allocations: 61.53 MB / 0.4987 GB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5674/0.7227, allocations: 93.15 MB / 0.5896 GB, free: 3.277 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.7231, allocations: 79.39 kB / 0.5897 GB, free: 3.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002337/0.7255, allocations: 0.7896 MB / 0.5905 GB, free: 2.508 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.7255, allocations: 0 / 0.5905 GB, free: 2.508 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.7255, allocations: 0 / 0.5905 GB, free: 2.508 MB / 394.7 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.000328/0.7259, allocations: 322.7 kB / 0.5908 GB, free: 2.152 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.7259, allocations: 16.02 kB / 0.5908 GB, free: 2.137 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.726, allocations: 0 / 0.5908 GB, free: 2.137 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.7262, allocations: 159.7 kB / 0.591 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.7262, allocations: 1.75 kB / 0.591 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.7262, allocations: 8 kB / 0.591 GB, free: 1.934 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.133e-05/0.7263, allocations: 0 / 0.591 GB, free: 1.934 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.625e-05/0.7263, allocations: 41.58 kB / 0.591 GB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.7264, allocations: 0 / 0.591 GB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.7264, allocations: 0 / 0.591 GB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.7264, allocations: 3.938 kB / 0.591 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.7266, allocations: 133.9 kB / 0.5911 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.312e-05/0.7266, allocations: 18.61 kB / 0.5912 GB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.7267, allocations: 20.78 kB / 0.5912 GB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006657/0.7273, allocations: 0.6009 MB / 0.5918 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.7274, allocations: 30.56 kB / 0.5918 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 2.875e-06/0.7274, allocations: 3.984 kB / 0.5918 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001837/0.7276, allocations: 49.45 kB / 0.5918 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.7276, allocations: 51.41 kB / 0.5919 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.7277, allocations: 89 kB / 0.592 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.7277, allocations: 29.73 kB / 0.592 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.7278, allocations: 80.14 kB / 0.5921 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.7278, allocations: 11.47 kB / 0.5921 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.7278, allocations: 0 / 0.5921 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.7279, allocations: 318.8 kB / 0.5924 GB, free: 256 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.507e-06/0.728, allocations: 0 / 0.5924 GB, free: 256 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-06/0.728, allocations: 0 / 0.5924 GB, free: 256 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.932e-05/0.728, allocations: 4 kB / 0.5924 GB, free: 252 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.728, allocations: 4.062 kB / 0.5924 GB, free: 248 kB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.192e-05/0.7281, allocations: 41.23 kB / 0.5924 GB, free: 204 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.7281, allocations: 8 kB / 0.5924 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.7281, allocations: 3.984 kB / 0.5925 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.772e-05/0.7282, allocations: 3.938 kB / 0.5925 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.7283, allocations: 4 kB / 0.5925 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.7283, allocations: 3.984 kB / 0.5925 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.7283, allocations: 3.953 kB / 0.5925 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.7283, allocations: 0.5625 kB / 0.5925 GB, free: 176 kB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.604e-05/0.7284, allocations: 105 kB / 0.5926 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.7284, allocations: 4 kB / 0.5926 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.7285, allocations: 48.08 kB / 0.5926 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7285, allocations: 0 / 0.5926 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7286, allocations: 0 / 0.5926 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.7286, allocations: 0 / 0.5926 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.7287, allocations: 141.2 kB / 0.5928 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7287, allocations: 0 / 0.5928 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.7287, allocations: 4 kB / 0.5928 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7288, allocations: 3.172 kB / 0.5928 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.7288, allocations: 4.031 kB / 0.5928 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7288, allocations: 3.938 kB / 0.5928 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7288, allocations: 0 / 0.5928 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.983e-05/0.7289, allocations: 68.39 kB / 0.5928 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.7289, allocations: 77.11 kB / 0.5929 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.729, allocations: 3.938 kB / 0.5929 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/0.729, allocations: 0 / 0.5929 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.729, allocations: 4.031 kB / 0.5929 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.729, allocations: 4 kB / 0.5929 GB, free: 15.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.432e-05/0.7291, allocations: 75.28 kB / 0.593 GB, free: 15.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7291, allocations: 0 / 0.593 GB, free: 15.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001961/0.7293, allocations: 19.98 kB / 0.593 GB, free: 15.54 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000175/0.7294, allocations: 111.2 kB / 0.5931 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.691e-05/0.7295, allocations: 15.25 kB / 0.5931 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7295, allocations: 0 / 0.5931 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.888e-06/0.7295, allocations: 12.05 kB / 0.5931 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.7297, allocations: 7.953 kB / 0.5931 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001983/0.7299, allocations: 57.19 kB / 0.5932 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.7302, allocations: 0.6729 MB / 0.5939 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.085e-05/0.7303, allocations: 7.922 kB / 0.5939 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.7303, allocations: 15.5 kB / 0.5939 GB, free: 14.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7303, allocations: 0 / 0.5939 GB, free: 14.6 MB / 410.7 MB Notification: Performance of Templates: time 0.00264/0.7329, allocations: 0.543 MB / 0.5944 GB, free: 14.07 MB / 410.7 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)