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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006381/0.006388, allocations: 103.9 kB / 15.73 MB, free: 6.473 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.001208/0.001208, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.552/1.552, allocations: 205.1 MB / 222.6 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.618/1.618, allocations: 251.7 MB / 0.5094 GB, free: 3.051 MB / 414.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.001498/0.001499, allocations: 70.03 kB / 0.7257 GB, free: 9.051 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.234, allocations: 104.7 MB / 0.828 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004097/0.2381, allocations: 2.315 MB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.2396, allocations: 0.8268 MB / 0.8311 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.2397, allocations: 0 / 0.8311 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006787/0.2404, allocations: 154.9 kB / 0.8312 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.2406, allocations: 63.59 kB / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.2408, allocations: 51.88 kB / 0.8313 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.2411, allocations: 163.4 kB / 0.8315 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.2414, allocations: 97 kB / 0.8316 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.2415, allocations: 71.7 kB / 0.8316 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.2417, allocations: 67.73 kB / 0.8317 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.2417, allocations: 12 kB / 0.8317 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.2419, allocations: 55.91 kB / 0.8318 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.242, allocations: 39.83 kB / 0.8318 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.712e-05/0.2421, allocations: 67.66 kB / 0.8319 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.2423, allocations: 167.5 kB / 0.832 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2423, allocations: 0 / 0.832 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2423, allocations: 0 / 0.832 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.2424, allocations: 4 kB / 0.832 GB, free: 12.08 MB / 0.6544 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.0008253/0.2432, allocations: 482.6 kB / 0.8325 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2432, allocations: 8.031 kB / 0.8325 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.2435, allocations: 36.72 kB / 0.8325 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.2438, allocations: 216 kB / 0.8328 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.367e-05/0.2439, allocations: 34.39 kB / 0.8328 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.2439, allocations: 16.12 kB / 0.8328 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.2442, allocations: 148.2 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2442, allocations: 3.938 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.2443, allocations: 4 kB / 0.833 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.2443, allocations: 8 kB / 0.833 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.2445, allocations: 87.94 kB / 0.833 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.2453, allocations: 0.6363 MB / 0.8337 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.2456, allocations: 62.48 kB / 0.8337 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.176e-05/0.2457, allocations: 24.92 kB / 0.8337 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.2457, allocations: 3.984 kB / 0.8338 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.2459, allocations: 138.8 kB / 0.8339 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.2459, allocations: 4 kB / 0.8339 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003666/0.2463, allocations: 167.3 kB / 0.834 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.2464, allocations: 136.5 kB / 0.8342 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.2466, allocations: 186.5 kB / 0.8344 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.2466, allocations: 29.69 kB / 0.8344 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/0.2467, allocations: 139.8 kB / 0.8345 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.2467, allocations: 27.64 kB / 0.8345 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.2468, allocations: 33.72 kB / 0.8346 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.247, allocations: 334.8 kB / 0.8349 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.616e-05/0.2471, allocations: 35.98 kB / 0.8349 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.2472, allocations: 105.4 kB / 0.835 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.2475, allocations: 230.3 kB / 0.8352 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2475, allocations: 0 / 0.8352 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003706/0.2479, allocations: 244.9 kB / 0.8355 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-05/0.2479, allocations: 67.45 kB / 0.8355 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.248, allocations: 7.938 kB / 0.8356 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.248, allocations: 0 / 0.8356 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.2481, allocations: 35.92 kB / 0.8356 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.2481, allocations: 4 kB / 0.8356 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.2483, allocations: 23.83 kB / 0.8356 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.2483, allocations: 8 kB / 0.8356 GB, free: 8 MB / 0.6544 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.0001511/0.2485, allocations: 176.8 kB / 0.8358 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.2485, allocations: 11.91 kB / 0.8358 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.2485, allocations: 21.33 kB / 0.8358 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2485, allocations: 0 / 0.8358 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.2486, allocations: 8 kB / 0.8358 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2486, allocations: 0 / 0.8358 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.2488, allocations: 217.5 kB / 0.836 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2488, allocations: 0 / 0.836 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.2489, allocations: 8 kB / 0.836 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2489, allocations: 0 / 0.836 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.2489, allocations: 15.94 kB / 0.8361 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2489, allocations: 0 / 0.8361 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2489, allocations: 0 / 0.8361 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.2493, allocations: 214.9 kB / 0.8363 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.2494, allocations: 92.94 kB / 0.8364 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.2494, allocations: 7.938 kB / 0.8364 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/0.2495, allocations: 4 kB / 0.8364 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.2496, allocations: 16.05 kB / 0.8364 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.2496, allocations: 4 kB / 0.8364 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001034/0.2497, allocations: 131.2 kB / 0.8365 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.7e-07/0.2497, allocations: 3.938 kB / 0.8365 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002596/0.25, allocations: 35.94 kB / 0.8365 GB, free: 6.949 MB / 0.6544 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.0001466/0.2501, allocations: 99.25 kB / 0.8366 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.2505, allocations: 218.9 kB / 0.8369 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2505, allocations: 0 / 0.8369 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.2506, allocations: 103.5 kB / 0.8369 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.2509, allocations: 24.05 kB / 0.837 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.2515, allocations: 294.5 kB / 0.8373 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.2518, allocations: 0.7158 MB / 0.838 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.091e-05/0.2519, allocations: 20.64 kB / 0.838 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.2519, allocations: 11.44 kB / 0.838 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.2519, allocations: 0 / 0.838 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of Templates: time 0.004158/0.2561, allocations: 1.414 MB / 0.8394 GB, free: 3.977 MB / 0.6544 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)