Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 107.3 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.001938/0.001938, allocations: 191.8 kB / 16.25 MB, free: 6.145 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.534/1.534, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.785/1.785, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001356/0.001356, allocations: 65.42 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2896, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004085/0.2937, allocations: 2.353 MB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.2952, allocations: 0.8229 MB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.2954, allocations: 4 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006295/0.296, allocations: 131.5 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.2962, allocations: 63.67 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.2964, allocations: 51.89 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.2967, allocations: 163.4 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.297, allocations: 105 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.2971, allocations: 67.77 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.2973, allocations: 67.73 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.2973, allocations: 19.88 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.2974, allocations: 47.97 kB / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.2975, allocations: 43.83 kB / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.997e-05/0.2976, allocations: 67.66 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.2978, allocations: 167.7 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2978, allocations: 3.938 kB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2978, allocations: 4 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2978, allocations: 0 / 0.7869 GB, free: 9.711 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007378/0.2986, allocations: 490.6 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2986, allocations: 12.03 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.2988, allocations: 24.73 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.299, allocations: 208.1 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.2991, allocations: 38.45 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.2991, allocations: 16.12 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.2994, allocations: 155.2 kB / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2994, allocations: 0 / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.2994, allocations: 3.984 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.2995, allocations: 4 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.2997, allocations: 91.94 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008192/0.3005, allocations: 0.6285 MB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.3007, allocations: 62.48 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.3008, allocations: 36.91 kB / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.3008, allocations: 0 / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.301, allocations: 146 kB / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.301, allocations: 0 / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003599/0.3014, allocations: 163.2 kB / 0.7889 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.3015, allocations: 136.5 kB / 0.789 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3016, allocations: 182.4 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3016, allocations: 29.7 kB / 0.7892 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.3017, allocations: 139.7 kB / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.3018, allocations: 15.8 kB / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.3018, allocations: 41.61 kB / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.3019, allocations: 326.8 kB / 0.7897 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-05/0.302, allocations: 35.94 kB / 0.7898 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.3022, allocations: 112.2 kB / 0.7899 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.3024, allocations: 246.2 kB / 0.7901 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3024, allocations: 4 kB / 0.7901 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003258/0.3027, allocations: 240.7 kB / 0.7903 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/0.3028, allocations: 59.41 kB / 0.7904 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3028, allocations: 7.938 kB / 0.7904 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3028, allocations: 4.312 kB / 0.7904 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3029, allocations: 35.92 kB / 0.7905 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.303, allocations: 3.984 kB / 0.7905 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.3031, allocations: 27.75 kB / 0.7905 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.3031, allocations: 8 kB / 0.7905 GB, free: 5.633 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001395/0.3033, allocations: 172.6 kB / 0.7907 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.3033, allocations: 11.91 kB / 0.7907 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.3033, allocations: 21.33 kB / 0.7907 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3033, allocations: 8.031 kB / 0.7907 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3034, allocations: 0 / 0.7907 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3034, allocations: 0 / 0.7907 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.3035, allocations: 209.6 kB / 0.7909 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3035, allocations: 0 / 0.7909 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.3036, allocations: 8 kB / 0.7909 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3036, allocations: 0 / 0.7909 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.3036, allocations: 11.92 kB / 0.7909 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3037, allocations: 0 / 0.7909 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3037, allocations: 0 / 0.7909 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.304, allocations: 222.5 kB / 0.7911 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.3041, allocations: 81.02 kB / 0.7912 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.3041, allocations: 11.97 kB / 0.7912 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.3042, allocations: 11.98 kB / 0.7912 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.3043, allocations: 11.98 kB / 0.7912 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.3043, allocations: 3.938 kB / 0.7912 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001105/0.3044, allocations: 141.1 kB / 0.7914 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3044, allocations: 4 kB / 0.7914 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002502/0.3047, allocations: 27.91 kB / 0.7914 GB, free: 4.586 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001226/0.3048, allocations: 103.2 kB / 0.7915 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003398/0.3052, allocations: 218.6 kB / 0.7917 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3052, allocations: 0.625 kB / 0.7917 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.3053, allocations: 107.4 kB / 0.7918 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.3056, allocations: 19.92 kB / 0.7918 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000621/0.3062, allocations: 334.2 kB / 0.7922 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.3065, allocations: 0.7158 MB / 0.7929 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.311e-05/0.3066, allocations: 24.41 kB / 0.7929 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.3067, allocations: 11.44 kB / 0.7929 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.3067, allocations: 4 kB / 0.7929 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of Templates: time 0.003933/0.3106, allocations: 1.306 MB / 0.7942 GB, free: 1.676 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)