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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.3 MB / 308.1 MB, free: 4.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 194.2 kB / 376.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205 MB / 0.6354 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 97.56 kB / 0.748 GB, free: 60.97 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 55.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3884, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.005782/0.3943, allocations: 2.367 MB / 0.9845 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002084/0.3964, allocations: 0.8269 MB / 0.9853 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3965, allocations: 0 / 0.9853 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007615/0.3973, allocations: 143.5 kB / 0.9855 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.3976, allocations: 55.73 kB / 0.9855 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.3979, allocations: 51.89 kB / 0.9856 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000341/0.3982, allocations: 195.4 kB / 0.9858 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002909/0.3985, allocations: 69.06 kB / 0.9858 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.3987, allocations: 55.78 kB / 0.9859 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.3989, allocations: 71.67 kB / 0.9859 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.399, allocations: 8 kB / 0.9859 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.3992, allocations: 63.86 kB / 0.986 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.404e-05/0.3993, allocations: 31.91 kB / 0.986 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.3994, allocations: 63.61 kB / 0.9861 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.3998, allocations: 171.7 kB / 0.9863 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3998, allocations: 0 / 0.9863 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3998, allocations: 0 / 0.9863 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3998, allocations: 0 / 0.9863 GB, free: 6.199 MB / 0.7136 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.001072/0.4009, allocations: 498.6 kB / 0.9867 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.401, allocations: 8.031 kB / 0.9867 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003475/0.4013, allocations: 24.75 kB / 0.9868 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.4017, allocations: 216.1 kB / 0.987 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.752e-05/0.4018, allocations: 42.38 kB / 0.987 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.4018, allocations: 12.12 kB / 0.987 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.4023, allocations: 144.8 kB / 0.9872 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4023, allocations: 0 / 0.9872 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.4023, allocations: 8 kB / 0.9872 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.4024, allocations: 7.938 kB / 0.9872 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.4027, allocations: 83.94 kB / 0.9873 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.4041, allocations: 0.6441 MB / 0.9879 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.4044, allocations: 58.5 kB / 0.9879 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.4046, allocations: 28.91 kB / 0.988 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.4046, allocations: 4 kB / 0.988 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/0.4049, allocations: 145.2 kB / 0.9881 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.4049, allocations: 3.938 kB / 0.9881 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0006186/0.4056, allocations: 171.6 kB / 0.9883 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.511e-05/0.4057, allocations: 132.5 kB / 0.9884 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.4059, allocations: 186.2 kB / 0.9886 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.406, allocations: 29.7 kB / 0.9886 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.4061, allocations: 139.8 kB / 0.9887 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.4062, allocations: 15.81 kB / 0.9888 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.4063, allocations: 45.61 kB / 0.9888 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4065, allocations: 322.8 kB / 0.9891 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.4067, allocations: 39.97 kB / 0.9892 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.4069, allocations: 111.7 kB / 0.9893 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.4073, allocations: 230.3 kB / 0.9895 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.4074, allocations: 0 / 0.9895 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006152/0.408, allocations: 248.6 kB / 0.9897 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.796e-05/0.4081, allocations: 67.39 kB / 0.9898 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.4081, allocations: 7.875 kB / 0.9898 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.4081, allocations: 4 kB / 0.9898 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.4084, allocations: 32.23 kB / 0.9898 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.4084, allocations: 8 kB / 0.9898 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.4086, allocations: 23.83 kB / 0.9899 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.4087, allocations: 12 kB / 0.9899 GB, free: 2.098 MB / 0.7136 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.0002087/0.4089, allocations: 163.4 kB / 0.99 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.4089, allocations: 11.91 kB / 0.99 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.409, allocations: 17.34 kB / 0.99 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.409, allocations: 0 / 0.99 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.409, allocations: 4 kB / 0.9901 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.409, allocations: 0 / 0.9901 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.4093, allocations: 217.6 kB / 0.9903 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4094, allocations: 0 / 0.9903 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.4095, allocations: 11.98 kB / 0.9903 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4095, allocations: 0 / 0.9903 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.4095, allocations: 3.938 kB / 0.9903 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.4096, allocations: 4 kB / 0.9903 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4096, allocations: 3.938 kB / 0.9903 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/0.4126, allocations: 1.506 MB / 0.9918 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.854e-05/0.4127, allocations: 85.05 kB / 0.9918 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.4127, allocations: 3.984 kB / 0.9918 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.4129, allocations: 16 kB / 0.9919 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-05/0.413, allocations: 7.984 kB / 0.9919 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.413, allocations: 4 kB / 0.9919 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001852/0.4132, allocations: 140.3 kB / 0.992 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4132, allocations: 0 / 0.992 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006145/0.4139, allocations: 44 kB / 0.992 GB, free: 15.62 MB / 0.7292 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.0001899/0.4141, allocations: 103.4 kB / 0.9921 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005619/0.4147, allocations: 218.6 kB / 0.9923 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4147, allocations: 0 / 0.9923 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.4149, allocations: 111.3 kB / 0.9925 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.4154, allocations: 16.56 kB / 0.9925 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.4167, allocations: 0.5102 MB / 0.993 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.4171, allocations: 0.7164 MB / 0.9937 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.4172, allocations: 24.62 kB / 0.9937 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.4173, allocations: 11.44 kB / 0.9937 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.4173, allocations: 0 / 0.9937 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of Templates: time 0.006914/0.4242, allocations: 1.62 MB / 0.9953 GB, free: 12.2 MB / 0.7292 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)