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.001363/0.001363, allocations: 117 kB / 16.38 MB, free: 6.012 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.001201/0.001201, allocations: 189.8 kB / 17.31 MB, free: 5.613 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.374/1.374, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.722/1.722, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001407/0.001408, allocations: 71.89 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2303, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002352/0.2327, allocations: 1.24 MB / 0.786 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000282/0.233, allocations: 119.5 kB / 0.7861 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.2331, allocations: 0 / 0.7861 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.211e-05/0.2331, allocations: 3.938 kB / 0.7861 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.2332, allocations: 3.984 kB / 0.7861 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.2334, allocations: 43.83 kB / 0.7862 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.94e-05/0.2335, allocations: 11.92 kB / 0.7862 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.2335, allocations: 8 kB / 0.7862 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.147e-05/0.2336, allocations: 7.938 kB / 0.7862 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.515e-05/0.2336, allocations: 4 kB / 0.7862 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2336, allocations: 4 kB / 0.7862 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.2338, allocations: 47.94 kB / 0.7863 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.2338, allocations: 0 / 0.7863 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.2338, allocations: 15.91 kB / 0.7863 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.2339, allocations: 35.95 kB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2339, allocations: 0 / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.234, allocations: 0 / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.234, allocations: 4 kB / 0.7863 GB, free: 1.633 MB / 0.6544 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.0003978/0.2344, allocations: 331.5 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2344, allocations: 8.031 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.2345, allocations: 8.844 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.2346, allocations: 164.4 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.2346, allocations: 384 / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.2346, allocations: 4.312 kB / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.808e-05/0.2347, allocations: 42.12 kB / 0.7868 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2347, allocations: 4.188 kB / 0.7868 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.2347, allocations: 3.938 kB / 0.7868 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2347, allocations: 0 / 0.7868 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.364e-05/0.2348, allocations: 8 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.2349, allocations: 149.7 kB / 0.787 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.837e-05/0.235, allocations: 22.61 kB / 0.787 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.235, allocations: 8.922 kB / 0.787 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006607/0.2357, allocations: 0.6091 MB / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3748/0.6105, allocations: 32.34 kB / 0.7877 GB, free: 49.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 3.807e-06/0.6106, allocations: 0 / 0.7877 GB, free: 49.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002199/0.6108, allocations: 46.8 kB / 0.7877 GB, free: 49.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.6108, allocations: 51.94 kB / 0.7877 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.6109, allocations: 96.97 kB / 0.7878 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.6109, allocations: 27.14 kB / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.6109, allocations: 84.73 kB / 0.7879 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.611, allocations: 7.297 kB / 0.788 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.611, allocations: 18.02 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.6111, allocations: 313.2 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.6111, allocations: 2.406 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.6111, allocations: 3.188 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.672e-05/0.6111, allocations: 17.92 kB / 0.7883 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6112, allocations: 0 / 0.7883 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.693e-05/0.6112, allocations: 39.12 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6112, allocations: 9.219 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6113, allocations: 2.75 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.6113, allocations: 2.625 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.24e-05/0.6114, allocations: 2.625 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.6114, allocations: 0 / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.6114, allocations: 1.25 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.6114, allocations: 2.719 kB / 0.7884 GB, free: 48.46 MB / 0.6544 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 5.342e-05/0.6115, allocations: 114.8 kB / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.6115, allocations: 3.938 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.375e-05/0.6116, allocations: 48.19 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.6116, allocations: 3.625 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6116, allocations: 0 / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.6116, allocations: 1.938 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.137e-05/0.6117, allocations: 159.7 kB / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6117, allocations: 2.625 kB / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.6117, allocations: 2.625 kB / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.6117, allocations: 2.297 kB / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.6117, allocations: 2.484 kB / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6117, allocations: 1.156 kB / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6118, allocations: 3.406 kB / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.622e-05/0.6118, allocations: 68.16 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.6119, allocations: 79.73 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.6119, allocations: 0 / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.704e-05/0.6119, allocations: 3.219 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.6119, allocations: 6.562 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.6119, allocations: 2.594 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.342e-05/0.612, allocations: 85.5 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.612, allocations: 0 / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002131/0.6122, allocations: 14.06 kB / 0.7889 GB, free: 47.89 MB / 0.6544 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.00014/0.6123, allocations: 110.6 kB / 0.789 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.443e-05/0.6124, allocations: 12.34 kB / 0.789 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6124, allocations: 2.062 kB / 0.789 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.198e-05/0.6124, allocations: 8.75 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.6127, allocations: 14.61 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.613, allocations: 132.2 kB / 0.7892 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.548e-05/0.6131, allocations: 0.6773 MB / 0.7899 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.6131, allocations: 7.438 kB / 0.7899 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.6131, allocations: 0 / 0.7899 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of Templates: time 0.001816/0.6149, allocations: 0.6002 MB / 0.7905 GB, free: 46.97 MB / 0.6544 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)