Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 178.2 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.4 MB / 0.5786 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008185/0.0008186, allocations: 91.8 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003531, allocations: 6.094 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2307, allocations: 106.3 MB / 0.9014 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00287/0.2336, allocations: 2.018 MB / 0.9034 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.235, allocations: 0.8149 MB / 0.9042 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.2352, allocations: 4 kB / 0.9042 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.2354, allocations: 19.86 kB / 0.9042 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.2357, allocations: 59.67 kB / 0.9043 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.2359, allocations: 51.94 kB / 0.9043 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.2362, allocations: 195.4 kB / 0.9045 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.2365, allocations: 189.6 kB / 0.9047 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.2367, allocations: 51.78 kB / 0.9047 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.2369, allocations: 71.62 kB / 0.9048 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.2369, allocations: 8 kB / 0.9048 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.2371, allocations: 59.86 kB / 0.9049 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.2371, allocations: 31.91 kB / 0.9049 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.052e-05/0.2372, allocations: 81.38 kB / 0.905 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.2374, allocations: 132 kB / 0.9051 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.2374, allocations: 4 kB / 0.9051 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2375, allocations: 4 kB / 0.9051 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.2375, allocations: 0 / 0.9051 GB, free: 59.72 MB / 0.6042 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.000693/0.2382, allocations: 464.2 kB / 0.9056 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2382, allocations: 8.031 kB / 0.9056 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.2385, allocations: 28.73 kB / 0.9056 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.2387, allocations: 212 kB / 0.9058 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.984e-05/0.2388, allocations: 34.45 kB / 0.9058 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.2388, allocations: 24.11 kB / 0.9059 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.2391, allocations: 150 kB / 0.906 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2391, allocations: 3.938 kB / 0.906 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.2392, allocations: 7.984 kB / 0.906 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.2392, allocations: 4 kB / 0.906 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.2394, allocations: 95.94 kB / 0.9061 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007832/0.2402, allocations: 0.6363 MB / 0.9067 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.2404, allocations: 62.5 kB / 0.9068 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.977e-05/0.2405, allocations: 28.91 kB / 0.9068 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.2406, allocations: 4 kB / 0.9068 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.2407, allocations: 154.7 kB / 0.907 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/0.2408, allocations: 0 / 0.907 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003604/0.2411, allocations: 171.2 kB / 0.9071 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.2412, allocations: 132.5 kB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.2413, allocations: 182.8 kB / 0.9074 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.2414, allocations: 33.7 kB / 0.9075 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.2414, allocations: 135.9 kB / 0.9076 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.2415, allocations: 19.66 kB / 0.9076 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/0.2415, allocations: 4 kB / 0.9076 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.461e-05/0.2416, allocations: 326.8 kB / 0.9079 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.735e-05/0.2416, allocations: 43.97 kB / 0.908 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.2418, allocations: 109.4 kB / 0.9081 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.242, allocations: 230.3 kB / 0.9083 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.242, allocations: 4 kB / 0.9083 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003069/0.2423, allocations: 248.6 kB / 0.9085 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.2424, allocations: 67.39 kB / 0.9086 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2424, allocations: 4.562 kB / 0.9086 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2424, allocations: 8 kB / 0.9086 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.2425, allocations: 35.92 kB / 0.9086 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2425, allocations: 4 kB / 0.9086 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.2427, allocations: 31.83 kB / 0.9087 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2427, allocations: 11.98 kB / 0.9087 GB, free: 55.66 MB / 0.6042 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 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * 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.0001084/0.2428, allocations: 162.8 kB / 0.9088 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.2428, allocations: 19.91 kB / 0.9089 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.2429, allocations: 13.34 kB / 0.9089 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2429, allocations: 0 / 0.9089 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2429, allocations: 0 / 0.9089 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2429, allocations: 0 / 0.9089 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.2431, allocations: 213.6 kB / 0.9091 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2431, allocations: 4 kB / 0.9091 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.013e-05/0.2431, allocations: 11.98 kB / 0.9091 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2432, allocations: 0 / 0.9091 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.2432, allocations: 7.938 kB / 0.9091 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2432, allocations: 7.938 kB / 0.9091 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2432, allocations: 0 / 0.9091 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.2435, allocations: 222.6 kB / 0.9093 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.2436, allocations: 92.8 kB / 0.9094 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.2436, allocations: 11.92 kB / 0.9094 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.164e-05/0.2437, allocations: 16.06 kB / 0.9094 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.2438, allocations: 7.984 kB / 0.9094 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.2438, allocations: 4 kB / 0.9095 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.958e-05/0.2439, allocations: 135.2 kB / 0.9096 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2439, allocations: 0 / 0.9096 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000229/0.2442, allocations: 32 kB / 0.9096 GB, free: 54.61 MB / 0.6042 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 9.784e-05/0.2443, allocations: 99.33 kB / 0.9097 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.2446, allocations: 222.6 kB / 0.9099 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2446, allocations: 0 / 0.9099 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.2447, allocations: 107.4 kB / 0.91 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.245, allocations: 16.62 kB / 0.91 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005517/0.2456, allocations: 383.6 kB / 0.9104 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.2457, allocations: 0.716 MB / 0.9111 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.2458, allocations: 15.42 kB / 0.9111 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.2458, allocations: 0 / 0.9111 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of Templates: time 0.002896/0.2487, allocations: 1.679 MB / 0.9128 GB, free: 51.3 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)