Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001463/0.001463, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001926/0.001926, allocations: 193 kB / 16.13 MB, free: 6.66 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.401/1.401, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.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.645/1.645, allocations: 292.2 MB / 0.5484 GB, free: 13.7 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.001425/0.001425, allocations: 60.81 kB / 0.6708 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2713, allocations: 114.5 MB / 0.7827 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002388/0.2738, allocations: 1.321 MB / 0.784 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003212/0.2741, allocations: 131.5 kB / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.675e-05/0.2741, allocations: 0 / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.2741, allocations: 0 / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.573e-05/0.2742, allocations: 0 / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.2744, allocations: 31.89 kB / 0.7841 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.015e-05/0.2744, allocations: 11.94 kB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.2745, allocations: 7.984 kB / 0.7841 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.941e-05/0.2745, allocations: 4 kB / 0.7841 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.2746, allocations: 11.94 kB / 0.7841 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2746, allocations: 0 / 0.7841 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.2747, allocations: 51.94 kB / 0.7842 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.2747, allocations: 0 / 0.7842 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.2748, allocations: 15.92 kB / 0.7842 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.498e-05/0.2749, allocations: 28.23 kB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2749, allocations: 0 / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2749, allocations: 0 / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2749, allocations: 4 kB / 0.7842 GB, free: 12.45 MB / 0.6075 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.000376/0.2753, allocations: 343.4 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2753, allocations: 8.031 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.2754, allocations: 0.9375 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2755, allocations: 168.4 kB / 0.7847 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2755, allocations: 384 / 0.7847 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.2755, allocations: 384 / 0.7847 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.823e-05/0.2756, allocations: 30.27 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2756, allocations: 4.188 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.2756, allocations: 3.938 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.2757, allocations: 0 / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.2757, allocations: 11.98 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.2758, allocations: 145.7 kB / 0.7849 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.2759, allocations: 30.53 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.2759, allocations: 8.922 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007077/0.2766, allocations: 0.6129 MB / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.2767, allocations: 38.55 kB / 0.7856 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.2767, allocations: 0 / 0.7856 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000131/0.2768, allocations: 41.58 kB / 0.7856 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.2769, allocations: 55.41 kB / 0.7857 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.2769, allocations: 101.8 kB / 0.7858 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.277, allocations: 25.7 kB / 0.7858 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.277, allocations: 84.27 kB / 0.7859 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.277, allocations: 7.844 kB / 0.7859 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.2771, allocations: 21.72 kB / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2772, allocations: 310.8 kB / 0.7862 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.2772, allocations: 4 kB / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-06/0.2772, allocations: 0 / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.866e-05/0.2772, allocations: 20.84 kB / 0.7862 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2772, allocations: 8.062 kB / 0.7862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.47e-05/0.2773, allocations: 37.64 kB / 0.7863 GB, free: 10 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.2773, allocations: 4 kB / 0.7863 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2773, allocations: 3.938 kB / 0.7863 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.2773, allocations: 0 / 0.7863 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.361e-05/0.2774, allocations: 8 kB / 0.7863 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2774, allocations: 0 / 0.7863 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.2774, allocations: 0 / 0.7863 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.2774, allocations: 0 / 0.7863 GB, free: 9.984 MB / 0.6075 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 7.075e-05/0.2775, allocations: 118.5 kB / 0.7864 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.2775, allocations: 3.906 kB / 0.7864 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.938e-05/0.2776, allocations: 48.75 kB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2776, allocations: 0 / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2777, allocations: 4 kB / 0.7865 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2777, allocations: 0 / 0.7865 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.2778, allocations: 153.6 kB / 0.7866 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2778, allocations: 7.984 kB / 0.7866 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.2778, allocations: 0 / 0.7866 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.2778, allocations: 0 / 0.7866 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2778, allocations: 11.97 kB / 0.7866 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.2778, allocations: 0 / 0.7866 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2778, allocations: 3.938 kB / 0.7866 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.232e-05/0.2779, allocations: 61.31 kB / 0.7867 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.278, allocations: 81.09 kB / 0.7868 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.278, allocations: 7.938 kB / 0.7868 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.642e-05/0.278, allocations: 0 / 0.7868 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.278, allocations: 4.031 kB / 0.7868 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.278, allocations: 0 / 0.7868 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.984e-05/0.2781, allocations: 83.22 kB / 0.7869 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2781, allocations: 0 / 0.7869 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001931/0.2783, allocations: 19.98 kB / 0.7869 GB, free: 9.281 MB / 0.6075 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.0001743/0.2785, allocations: 111.2 kB / 0.787 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.384e-05/0.2785, allocations: 11.98 kB / 0.787 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2785, allocations: 64 / 0.787 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.154e-05/0.2785, allocations: 8 kB / 0.787 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.2788, allocations: 8 kB / 0.787 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000243/0.279, allocations: 99.81 kB / 0.7871 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.2793, allocations: 0.6808 MB / 0.7878 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.987e-05/0.2793, allocations: 12.05 kB / 0.7878 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.29e-05/0.2793, allocations: 11.38 kB / 0.7878 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2793, allocations: 0 / 0.7878 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of Templates: time 0.002245/0.2816, allocations: 0.5778 MB / 0.7884 GB, free: 7.703 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)