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.001613/0.001613, allocations: 100.1 kB / 16.27 MB, free: 6.422 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.001674/0.001674, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.447/1.447, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.756/1.756, allocations: 292.3 MB / 0.5495 GB, free: 17.72 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.001429/0.001429, allocations: 67.91 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.221, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002229/0.2232, allocations: 1.245 MB / 0.7852 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002861/0.2235, allocations: 119.5 kB / 0.7854 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.2236, allocations: 3.938 kB / 0.7854 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.2236, allocations: 0 / 0.7854 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.882e-05/0.2237, allocations: 7.984 kB / 0.7854 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.2239, allocations: 35.83 kB / 0.7854 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.374e-05/0.224, allocations: 15.94 kB / 0.7854 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.224, allocations: 4 kB / 0.7854 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.093e-05/0.2241, allocations: 7.984 kB / 0.7854 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.942e-05/0.2241, allocations: 11.92 kB / 0.7854 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.2241, allocations: 0 / 0.7854 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.2243, allocations: 51.94 kB / 0.7855 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.2243, allocations: 3.938 kB / 0.7855 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.2243, allocations: 8 kB / 0.7855 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.2245, allocations: 40.17 kB / 0.7855 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2245, allocations: 0 / 0.7855 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2245, allocations: 0 / 0.7855 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2245, allocations: 4 kB / 0.7855 GB, free: 2.301 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.0004202/0.2249, allocations: 327.5 kB / 0.7859 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.225, allocations: 12.03 kB / 0.7859 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.225, allocations: 4.844 kB / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2251, allocations: 168.4 kB / 0.786 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.2251, allocations: 384 / 0.786 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.2252, allocations: 4.375 kB / 0.786 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.99e-05/0.2252, allocations: 34.2 kB / 0.7861 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.2252, allocations: 4.188 kB / 0.7861 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.2253, allocations: 3.938 kB / 0.7861 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2253, allocations: 0 / 0.7861 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/0.2253, allocations: 4 kB / 0.7861 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.2254, allocations: 153.7 kB / 0.7862 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.722e-05/0.2255, allocations: 22.58 kB / 0.7862 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.2255, allocations: 8.922 kB / 0.7863 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006885/0.2262, allocations: 0.6129 MB / 0.7869 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.2263, allocations: 30.56 kB / 0.7869 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2263, allocations: 7.938 kB / 0.7869 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000136/0.2264, allocations: 45.62 kB / 0.7869 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.2264, allocations: 51.41 kB / 0.787 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.847e-05/0.2265, allocations: 97.86 kB / 0.7871 GB, free: 416 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.2265, allocations: 29.83 kB / 0.7871 GB, free: 380 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.2266, allocations: 80.14 kB / 0.7872 GB, free: 296 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.2266, allocations: 15.83 kB / 0.7872 GB, free: 280 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.2266, allocations: 13.72 kB / 0.7872 GB, free: 260 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.358/0.5846, allocations: 312.3 kB / 0.7875 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.407e-05/0.5847, allocations: 1.906 kB / 0.7875 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.5847, allocations: 2.406 kB / 0.7875 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.512e-05/0.5848, allocations: 15.02 kB / 0.7875 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.5848, allocations: 1.469 kB / 0.7875 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.362e-05/0.5849, allocations: 37.78 kB / 0.7876 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5849, allocations: 7.047 kB / 0.7876 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5849, allocations: 3.188 kB / 0.7876 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.585, allocations: 1.125 kB / 0.7876 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.585, allocations: 5.531 kB / 0.7876 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.5851, allocations: 3.75 kB / 0.7876 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.5851, allocations: 5.656 kB / 0.7876 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.5851, allocations: 1.406 kB / 0.7876 GB, free: 48.59 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.353e-05/0.5852, allocations: 108.5 kB / 0.7877 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.5852, allocations: 3.141 kB / 0.7877 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.765e-05/0.5853, allocations: 51.28 kB / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5853, allocations: 0 / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5853, allocations: 3.938 kB / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5853, allocations: 1.312 kB / 0.7878 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.091e-05/0.5854, allocations: 151.2 kB / 0.7879 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5854, allocations: 6.812 kB / 0.7879 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.5854, allocations: 3.562 kB / 0.7879 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.5854, allocations: 1.781 kB / 0.7879 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.5854, allocations: 0 / 0.7879 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5854, allocations: 0 / 0.7879 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.5855, allocations: 9.297 kB / 0.7879 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.075e-05/0.5855, allocations: 65 kB / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.5855, allocations: 83.25 kB / 0.7881 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.5856, allocations: 3.719 kB / 0.7881 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.664e-05/0.5856, allocations: 0 / 0.7881 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.5856, allocations: 8.188 kB / 0.7881 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.5856, allocations: 2.625 kB / 0.7881 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.272e-05/0.5856, allocations: 80.59 kB / 0.7881 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5856, allocations: 0 / 0.7881 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002453/0.5859, allocations: 12.69 kB / 0.7882 GB, free: 48.01 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.0001428/0.586, allocations: 116.5 kB / 0.7883 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.148e-05/0.5861, allocations: 14.94 kB / 0.7883 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5861, allocations: 0 / 0.7883 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.5862, allocations: 4.312 kB / 0.7883 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.5864, allocations: 5.25 kB / 0.7883 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.5867, allocations: 132.1 kB / 0.7884 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.578e-05/0.5868, allocations: 0.6809 MB / 0.7891 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.5868, allocations: 7.438 kB / 0.7891 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.5868, allocations: 2.906 kB / 0.7891 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.00177/0.5886, allocations: 0.5999 MB / 0.7897 GB, free: 47.11 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)