Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001278/0.001278, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001716/0.001716, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.509/1.509, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.986/2.986, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 65 kB / 0.9113 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3492, allocations: 159.9 MB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004134/0.3534, allocations: 2.367 MB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.3547, allocations: 0.7793 MB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.3548, allocations: 0 / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005498/0.3554, allocations: 147.4 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.3556, allocations: 55.73 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.3557, allocations: 43.89 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.3559, allocations: 199.4 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.3562, allocations: 76.83 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3563, allocations: 59.77 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.3564, allocations: 67.69 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.3565, allocations: 8 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.3566, allocations: 71.86 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.3567, allocations: 27.91 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.938e-05/0.3568, allocations: 63.67 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.357, allocations: 175.6 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.357, allocations: 0 / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.357, allocations: 0 / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.357, allocations: 0 / 1.072 GB, free: 6.742 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.0007685/0.3578, allocations: 494.5 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3578, allocations: 8.031 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.358, allocations: 24.83 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.3583, allocations: 220 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.3584, allocations: 30.45 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.3584, allocations: 16.12 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.3587, allocations: 147 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3587, allocations: 0 / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.3587, allocations: 8 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.3587, allocations: 11.98 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.359, allocations: 83.89 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008244/0.3598, allocations: 0.6402 MB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.36, allocations: 62.53 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.072e-05/0.3601, allocations: 20.92 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3601, allocations: 7.938 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.3603, allocations: 146.7 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3604, allocations: 0 / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000376/0.3607, allocations: 163.3 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.3608, allocations: 132.5 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.361, allocations: 182.9 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.361, allocations: 25.7 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.3612, allocations: 143.7 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.3612, allocations: 23.73 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.3613, allocations: 45.62 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3614, allocations: 322.8 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.3615, allocations: 43.91 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3616, allocations: 117.3 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.3619, allocations: 222.4 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3619, allocations: 0 / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003793/0.3623, allocations: 240.8 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/0.3624, allocations: 67.33 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3624, allocations: 3.938 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3624, allocations: 4 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3626, allocations: 31.98 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3626, allocations: 7.938 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.3627, allocations: 23.83 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3627, allocations: 12 kB / 1.075 GB, free: 2.66 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.0001343/0.3629, allocations: 165.5 kB / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.3629, allocations: 15.81 kB / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.3629, allocations: 17.34 kB / 1.075 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.363, allocations: 3.984 kB / 1.075 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.363, allocations: 0 / 1.075 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.363, allocations: 0 / 1.075 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.3631, allocations: 209.6 kB / 1.075 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3631, allocations: 4 kB / 1.075 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.3632, allocations: 15.92 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3633, allocations: 4 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3633, allocations: 7.938 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3633, allocations: 320 / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3633, allocations: 4 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.3637, allocations: 214.6 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.3637, allocations: 89.03 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.3638, allocations: 7.875 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.434e-05/0.3639, allocations: 12.06 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.3639, allocations: 11.98 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.364, allocations: 4 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001078/0.3641, allocations: 131.2 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3641, allocations: 0 / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002418/0.3643, allocations: 35.91 kB / 1.076 GB, free: 1.617 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 9.404e-05/0.3644, allocations: 99.19 kB / 1.076 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003123/0.3647, allocations: 222.7 kB / 1.076 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.3648, allocations: 0 / 1.076 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.3649, allocations: 111.3 kB / 1.076 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.3652, allocations: 17.55 kB / 1.076 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.3657, allocations: 329 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.366, allocations: 0.72 MB / 1.077 GB, free: 44 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.383e-05/0.3661, allocations: 16.81 kB / 1.077 GB, free: 28 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.3661, allocations: 19.44 kB / 1.077 GB, free: 8 kB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3662, allocations: 0 / 1.077 GB, free: 8 kB / 0.8262 GB Notification: Performance of Templates: time 0.00352/0.3697, allocations: 1.241 MB / 1.079 GB, free: 14.78 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_1.6_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_1.6_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_1.6_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)