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.001093/0.001094, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001206/0.001206, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.533/1.533, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.69/1.69, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001373/0.001373, allocations: 63.45 kB / 0.671 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2742, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002328/0.2766, allocations: 1.301 MB / 0.7841 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002965/0.2769, allocations: 123.5 kB / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.2769, allocations: 0 / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.277, allocations: 0 / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.345e-05/0.2771, allocations: 3.938 kB / 0.7843 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.2773, allocations: 39.89 kB / 0.7843 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.116e-05/0.2773, allocations: 15.92 kB / 0.7843 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.2774, allocations: 0 / 0.7843 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.2774, allocations: 8 kB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.2775, allocations: 15.92 kB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.2775, allocations: 0 / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.2776, allocations: 47.89 kB / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.2776, allocations: 0 / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.2777, allocations: 15.98 kB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.2778, allocations: 36.16 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2778, allocations: 0 / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2778, allocations: 0 / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2778, allocations: 4 kB / 0.7844 GB, free: 12.27 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.0003644/0.2782, allocations: 339.4 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2782, allocations: 8.031 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.2783, allocations: 4.938 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.2784, allocations: 160.4 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.2784, allocations: 384 / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.2784, allocations: 384 / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.091e-05/0.2785, allocations: 38.19 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2785, allocations: 192 / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.2785, allocations: 3.938 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2785, allocations: 8 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.947e-05/0.2786, allocations: 4 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.2787, allocations: 149.7 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.274e-05/0.2788, allocations: 26.61 kB / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.2788, allocations: 4.859 kB / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006953/0.2795, allocations: 0.6168 MB / 0.7857 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.2795, allocations: 34.56 kB / 0.7858 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2796, allocations: 0 / 0.7858 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001391/0.2797, allocations: 41.64 kB / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.2797, allocations: 51.41 kB / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.2798, allocations: 101.8 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.2798, allocations: 25.7 kB / 0.786 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.2799, allocations: 80.14 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.2799, allocations: 11.97 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.2799, allocations: 21.72 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.28, allocations: 314.8 kB / 0.7864 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.375e-05/0.2801, allocations: 4 kB / 0.7864 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-06/0.2801, allocations: 7.938 kB / 0.7864 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.907e-05/0.2801, allocations: 16.86 kB / 0.7864 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2801, allocations: 0 / 0.7864 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.698e-05/0.2802, allocations: 37.77 kB / 0.7865 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2802, allocations: 4 kB / 0.7865 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2802, allocations: 7.922 kB / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2802, allocations: 0 / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.085e-05/0.2803, allocations: 8.188 kB / 0.7865 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.2803, allocations: 0 / 0.7865 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.2803, allocations: 3.938 kB / 0.7865 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.2803, allocations: 4 kB / 0.7865 GB, free: 9.809 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 5.837e-05/0.2804, allocations: 109.8 kB / 0.7866 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.2804, allocations: 11.92 kB / 0.7866 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.086e-05/0.2805, allocations: 48.75 kB / 0.7866 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.2805, allocations: 4 kB / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.2805, allocations: 0 / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2805, allocations: 0 / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.091e-05/0.2806, allocations: 153.7 kB / 0.7868 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2806, allocations: 0 / 0.7868 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.2806, allocations: 4 kB / 0.7868 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2806, allocations: 0 / 0.7868 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.2807, allocations: 3.938 kB / 0.7868 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2807, allocations: 4.031 kB / 0.7868 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2807, allocations: 0 / 0.7868 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.306e-05/0.2807, allocations: 69 kB / 0.7869 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.2808, allocations: 81.11 kB / 0.787 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.2808, allocations: 3.938 kB / 0.787 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.519e-05/0.2808, allocations: 0 / 0.787 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.2808, allocations: 0 / 0.787 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.2809, allocations: 4.031 kB / 0.787 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.632e-05/0.2809, allocations: 83.27 kB / 0.787 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2809, allocations: 0 / 0.787 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001851/0.2811, allocations: 16 kB / 0.7871 GB, free: 9.117 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.0001611/0.2813, allocations: 115.2 kB / 0.7872 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.089e-05/0.2813, allocations: 11.94 kB / 0.7872 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2814, allocations: 0 / 0.7872 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.145e-05/0.2814, allocations: 4.062 kB / 0.7872 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.2816, allocations: 12.06 kB / 0.7872 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.2819, allocations: 113.9 kB / 0.7873 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.2821, allocations: 0.6729 MB / 0.788 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.2821, allocations: 4 kB / 0.788 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.2821, allocations: 11.44 kB / 0.788 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2821, allocations: 0 / 0.788 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of Templates: time 0.002522/0.2847, allocations: 0.6008 MB / 0.7886 GB, free: 7.52 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)