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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009418/0.0009418, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001347/0.001346, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.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.0005274/0.0005276, allocations: 17.03 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.23, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003204/0.2332, allocations: 1.952 MB / 0.7892 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2346, allocations: 0.7767 MB / 0.7899 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.2347, allocations: 0 / 0.7899 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.2349, allocations: 19.86 kB / 0.79 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.2351, allocations: 43.75 kB / 0.79 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.2353, allocations: 43.89 kB / 0.79 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000208/0.2355, allocations: 159.4 kB / 0.7902 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002597/0.2358, allocations: 189.7 kB / 0.7904 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.236, allocations: 63.77 kB / 0.7904 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.2361, allocations: 67.62 kB / 0.7905 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.2362, allocations: 8 kB / 0.7905 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.589e-05/0.2363, allocations: 23.98 kB / 0.7905 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.156e-05/0.2363, allocations: 35.89 kB / 0.7906 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.025e-05/0.2364, allocations: 45.64 kB / 0.7906 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.2366, allocations: 123.9 kB / 0.7907 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2366, allocations: 0 / 0.7907 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.614e-06/0.2366, allocations: 0 / 0.7907 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2366, allocations: 0 / 0.7907 GB, free: 8.355 MB / 0.6075 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.0006862/0.2373, allocations: 474.5 kB / 0.7912 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2374, allocations: 8.031 kB / 0.7912 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.2376, allocations: 27.75 kB / 0.7912 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.2379, allocations: 214.8 kB / 0.7914 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.235e-05/0.238, allocations: 33.89 kB / 0.7914 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.2381, allocations: 12 kB / 0.7915 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.2384, allocations: 152.9 kB / 0.7916 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2384, allocations: 0 / 0.7916 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.2384, allocations: 3.953 kB / 0.7916 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.2385, allocations: 4.188 kB / 0.7916 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.2387, allocations: 96.44 kB / 0.7917 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009683/0.2397, allocations: 0.6373 MB / 0.7923 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.2399, allocations: 54.56 kB / 0.7924 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.917e-05/0.24, allocations: 36.91 kB / 0.7924 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.24, allocations: 0 / 0.7924 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.2402, allocations: 146.8 kB / 0.7926 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.2402, allocations: 0 / 0.7926 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004157/0.2407, allocations: 167.2 kB / 0.7927 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.2408, allocations: 136.5 kB / 0.7928 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.2409, allocations: 186.7 kB / 0.793 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.241, allocations: 29.7 kB / 0.7931 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.2411, allocations: 143.8 kB / 0.7932 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.2411, allocations: 15.72 kB / 0.7932 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-06/0.2411, allocations: 4 kB / 0.7932 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2413, allocations: 326.8 kB / 0.7935 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.2414, allocations: 39.97 kB / 0.7936 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.2415, allocations: 115.9 kB / 0.7937 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.2417, allocations: 107.3 kB / 0.7938 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2417, allocations: 0 / 0.7938 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003713/0.2421, allocations: 244.7 kB / 0.794 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/0.2421, allocations: 67.34 kB / 0.7941 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2421, allocations: 4 kB / 0.7941 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2422, allocations: 8.344 kB / 0.7941 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.2423, allocations: 35.92 kB / 0.7941 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.2423, allocations: 4 kB / 0.7941 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.2425, allocations: 31.73 kB / 0.7941 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.2425, allocations: 8 kB / 0.7942 GB, free: 4.473 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.2426, allocations: 171.4 kB / 0.7943 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.2427, allocations: 7.906 kB / 0.7943 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.2427, allocations: 21.36 kB / 0.7943 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2427, allocations: 7.984 kB / 0.7944 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.2427, allocations: 0 / 0.7944 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2427, allocations: 0 / 0.7944 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.243, allocations: 205.6 kB / 0.7945 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.243, allocations: 0 / 0.7945 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.349e-05/0.2431, allocations: 11.98 kB / 0.7946 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2431, allocations: 0 / 0.7946 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.2431, allocations: 4 kB / 0.7946 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.2431, allocations: 7.953 kB / 0.7946 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2431, allocations: 4 kB / 0.7946 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.2435, allocations: 226.8 kB / 0.7948 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.2436, allocations: 92.97 kB / 0.7949 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.2436, allocations: 4 kB / 0.7949 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-05/0.2437, allocations: 16.06 kB / 0.7949 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.2438, allocations: 11.94 kB / 0.7949 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.2439, allocations: 7.984 kB / 0.7949 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001579/0.244, allocations: 133.1 kB / 0.795 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.244, allocations: 0 / 0.795 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002727/0.2443, allocations: 31.91 kB / 0.7951 GB, free: 3.418 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001784/0.2445, allocations: 103.2 kB / 0.7952 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005869/0.2451, allocations: 226.6 kB / 0.7954 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2451, allocations: 0 / 0.7954 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.2453, allocations: 107.3 kB / 0.7955 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.2456, allocations: 23.91 kB / 0.7955 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/0.2464, allocations: 330.6 kB / 0.7958 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.2468, allocations: 0.7236 MB / 0.7965 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.247, allocations: 20.42 kB / 0.7966 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.247, allocations: 15.44 kB / 0.7966 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of SimCode: time 4.1e-07/0.247, allocations: 0 / 0.7966 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of Templates: time 0.005175/0.2522, allocations: 1.197 MB / 0.7977 GB, free: 0.6094 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: