Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.367/1.367, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.712/1.712, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001454/0.001454, allocations: 69.2 kB / 0.6723 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2089, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002195/0.2112, allocations: 1.279 MB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005036/0.2117, allocations: 294.9 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.2117, allocations: 0 / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.2118, allocations: 7.922 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.348e-05/0.2119, allocations: 15.92 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.2122, allocations: 75.72 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.465e-05/0.2122, allocations: 35.91 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.2123, allocations: 7.984 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.2124, allocations: 27.86 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.2124, allocations: 11.92 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.2125, allocations: 0 / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.2126, allocations: 83.91 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.2126, allocations: 4 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.2127, allocations: 15.88 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.2128, allocations: 71.78 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2128, allocations: 0 / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2128, allocations: 8 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2128, allocations: 0 / 0.786 GB, free: 10.82 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003548/0.2132, allocations: 351.4 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.2132, allocations: 11.97 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.2133, allocations: 4.844 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.2134, allocations: 164.4 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.2134, allocations: 384 / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.2134, allocations: 384 / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.2135, allocations: 46.19 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.2135, allocations: 4.188 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2135, allocations: 3.938 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2136, allocations: 0 / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.059e-05/0.2136, allocations: 15.98 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.2138, allocations: 165.5 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.657e-05/0.2138, allocations: 30.58 kB / 0.7868 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.2139, allocations: 12.86 kB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.2149, allocations: 1.187 MB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.2149, allocations: 30.56 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.2149, allocations: 0 / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001478/0.2151, allocations: 57.62 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.2151, allocations: 55.41 kB / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.315e-05/0.2152, allocations: 109.8 kB / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.2152, allocations: 25.7 kB / 0.7882 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.876e-05/0.2153, allocations: 88.12 kB / 0.7883 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.2153, allocations: 3.906 kB / 0.7883 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.2153, allocations: 25.56 kB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.2154, allocations: 310.8 kB / 0.7886 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.2155, allocations: 11.94 kB / 0.7886 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.424e-05/0.2155, allocations: 7.984 kB / 0.7886 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.2155, allocations: 16.86 kB / 0.7886 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2155, allocations: 0 / 0.7886 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.08e-05/0.2156, allocations: 45.69 kB / 0.7887 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2156, allocations: 4.938 kB / 0.7887 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2156, allocations: 3.938 kB / 0.7887 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2157, allocations: 0 / 0.7887 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.908e-05/0.2157, allocations: 4.328 kB / 0.7887 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2157, allocations: 7.938 kB / 0.7887 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.2157, allocations: 4 kB / 0.7887 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.2157, allocations: 0 / 0.7887 GB, free: 7.555 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 (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.912e-05/0.2158, allocations: 114.5 kB / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.2158, allocations: 0 / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.216, allocations: 69.5 kB / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.216, allocations: 0 / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.216, allocations: 4 kB / 0.7889 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.216, allocations: 4 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.2161, allocations: 165.5 kB / 0.7891 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2161, allocations: 0 / 0.7891 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.2162, allocations: 4 kB / 0.7891 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2162, allocations: 0 / 0.7891 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.2162, allocations: 7.922 kB / 0.7891 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2162, allocations: 3.938 kB / 0.7891 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2162, allocations: 0 / 0.7891 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.343e-05/0.2163, allocations: 73.12 kB / 0.7891 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.2163, allocations: 81.11 kB / 0.7892 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2164, allocations: 7.938 kB / 0.7892 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.2164, allocations: 3.984 kB / 0.7892 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.2164, allocations: 4 kB / 0.7892 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.2164, allocations: 0 / 0.7892 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.739e-05/0.2165, allocations: 83.28 kB / 0.7893 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2165, allocations: 0 / 0.7893 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002146/0.2167, allocations: 31.92 kB / 0.7893 GB, free: 6.801 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 (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 Backend phase and start with SimCode phase: time 0.000176/0.2169, allocations: 139.2 kB / 0.7895 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.133e-05/0.217, allocations: 15.94 kB / 0.7895 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.217, allocations: 0 / 0.7895 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.217, allocations: 11.98 kB / 0.7895 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.2172, allocations: 4 kB / 0.7895 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.2175, allocations: 118 kB / 0.7896 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.2177, allocations: 0.6885 MB / 0.7903 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.741e-05/0.2177, allocations: 4 kB / 0.7903 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.2177, allocations: 7.438 kB / 0.7903 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of SimCode: time 1.513e-06/0.2178, allocations: 0 / 0.7903 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of Templates: time 0.002703/0.2205, allocations: 0.7873 MB / 0.7911 GB, free: 4.973 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)