Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001161/0.001161, 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.00143/0.00143, allocations: 193.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 472.6 MB / 0.7448 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 64.48 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3315, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003887/0.3355, allocations: 2.357 MB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3368, allocations: 0.7793 MB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.976e-05/0.3369, allocations: 4 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.3375, allocations: 131.5 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.3377, allocations: 55.73 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.3379, allocations: 55.89 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.3381, allocations: 155.5 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.3384, allocations: 116.7 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.3386, allocations: 67.77 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.3387, allocations: 71.73 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.3388, allocations: 12 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.3389, allocations: 47.91 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.339, allocations: 47.77 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.595e-05/0.3391, allocations: 67.66 kB / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.3393, allocations: 163.8 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3393, allocations: 4 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.697e-06/0.3393, allocations: 4 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3393, allocations: 3.938 kB / 1.072 GB, free: 6.691 MB / 0.8262 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.000795/0.3401, allocations: 494.5 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3402, allocations: 8.031 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.3404, allocations: 24.83 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.3407, allocations: 217.7 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.3408, allocations: 34.45 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.3408, allocations: 12.12 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.3411, allocations: 155 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3411, allocations: 3.938 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.3412, allocations: 4 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.3412, allocations: 4 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.3414, allocations: 87.94 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008778/0.3423, allocations: 0.644 MB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.3425, allocations: 62.5 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.3426, allocations: 28.91 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.3427, allocations: 0 / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.3428, allocations: 138.8 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.3429, allocations: 0 / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003785/0.3432, allocations: 175.2 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.3433, allocations: 136.5 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.3435, allocations: 178.9 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.3435, allocations: 33.7 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.3436, allocations: 139.7 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.3437, allocations: 15.81 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.282e-05/0.3437, allocations: 41.61 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3439, allocations: 322.8 kB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.276e-05/0.344, allocations: 35.98 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.3441, allocations: 113.4 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.3444, allocations: 230.3 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3444, allocations: 4 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003547/0.3448, allocations: 236.6 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/0.3448, allocations: 63.41 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3449, allocations: 7.938 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3449, allocations: 4.312 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.345, allocations: 31.92 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.345, allocations: 7.984 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.3452, allocations: 19.84 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.3452, allocations: 16 kB / 1.075 GB, free: 2.613 MB / 0.8262 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.0001506/0.3453, allocations: 167.4 kB / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.3454, allocations: 15.75 kB / 1.075 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.3454, allocations: 25.33 kB / 1.075 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3454, allocations: 8.031 kB / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3454, allocations: 0 / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3454, allocations: 0 / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.3456, allocations: 217.6 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3456, allocations: 0 / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.04e-05/0.3457, allocations: 8 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3457, allocations: 3.984 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.3458, allocations: 7.938 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3458, allocations: 0 / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3458, allocations: 0 / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.3462, allocations: 218.5 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.3462, allocations: 85.05 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.3463, allocations: 7.938 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.3464, allocations: 11.98 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/0.3465, allocations: 7.984 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.3465, allocations: 4 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001052/0.3466, allocations: 131.3 kB / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3466, allocations: 0 / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002428/0.3469, allocations: 35.91 kB / 1.076 GB, free: 1.566 MB / 0.8262 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.347, allocations: 103.2 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003237/0.3473, allocations: 210.6 kB / 1.076 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3473, allocations: 0.625 kB / 1.076 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.3475, allocations: 107.4 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.3477, allocations: 23.2 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006146/0.3483, allocations: 342.2 kB / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.3487, allocations: 0.7118 MB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.014e-05/0.3488, allocations: 24.62 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.3488, allocations: 15.44 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3488, allocations: 0 / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.004169/0.353, allocations: 1.322 MB / 1.079 GB, free: 14.65 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)