Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.796/1.796, allocations: 288.4 MB / 303.7 MB, free: 8.207 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.001578/0.001578, allocations: 172.4 kB / 372.3 MB, free: 10.13 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.786/1.786, allocations: 205.4 MB / 0.631 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007974/0.0007974, allocations: 92.8 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004249, allocations: 15.33 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2567, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002287/0.2591, allocations: 1.944 MB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2601, allocations: 0.7803 MB / 0.9828 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.2602, allocations: 3.938 kB / 0.9828 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.2603, allocations: 23.84 kB / 0.9828 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.2606, allocations: 55.72 kB / 0.9829 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.2607, allocations: 47.84 kB / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.2609, allocations: 163.4 kB / 0.9831 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.2612, allocations: 201.6 kB / 0.9833 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.2613, allocations: 51.78 kB / 0.9833 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.2614, allocations: 59.75 kB / 0.9834 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2614, allocations: 4 kB / 0.9834 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.2615, allocations: 63.86 kB / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.2616, allocations: 27.91 kB / 0.9835 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.2617, allocations: 85.38 kB / 0.9835 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.2618, allocations: 131.9 kB / 0.9837 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2618, allocations: 0 / 0.9837 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2619, allocations: 4 kB / 0.9837 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2619, allocations: 0 / 0.9837 GB, free: 23.66 MB / 0.6198 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.0006012/0.2625, allocations: 462.7 kB / 0.9841 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2625, allocations: 8.031 kB / 0.9841 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.2627, allocations: 28.73 kB / 0.9841 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.2629, allocations: 205.5 kB / 0.9843 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.263, allocations: 42.39 kB / 0.9844 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.263, allocations: 20.06 kB / 0.9844 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.2633, allocations: 155.2 kB / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2633, allocations: 0 / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.2633, allocations: 7.984 kB / 0.9846 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/0.2633, allocations: 8 kB / 0.9846 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.2635, allocations: 91.89 kB / 0.9846 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007217/0.2643, allocations: 0.6363 MB / 0.9853 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.2645, allocations: 62.55 kB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.927e-05/0.2646, allocations: 28.91 kB / 0.9854 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.2646, allocations: 0 / 0.9854 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.2648, allocations: 158.6 kB / 0.9855 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2648, allocations: 0 / 0.9855 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003424/0.2651, allocations: 167.4 kB / 0.9857 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.2652, allocations: 136.5 kB / 0.9858 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.2654, allocations: 182.3 kB / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.2654, allocations: 25.7 kB / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.2654, allocations: 139.8 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.2655, allocations: 19.8 kB / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.2655, allocations: 0 / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.468e-05/0.2656, allocations: 326.8 kB / 0.9865 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.121e-05/0.2656, allocations: 39.92 kB / 0.9865 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.817e-05/0.2657, allocations: 115.4 kB / 0.9866 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.266, allocations: 234.3 kB / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.266, allocations: 4 kB / 0.9868 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002795/0.2663, allocations: 244.7 kB / 0.9871 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.2663, allocations: 59.41 kB / 0.9871 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2663, allocations: 7.938 kB / 0.9871 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2663, allocations: 4.312 kB / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.2665, allocations: 35.92 kB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.2665, allocations: 7.984 kB / 0.9872 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.2666, allocations: 23.84 kB / 0.9872 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.2666, allocations: 8 kB / 0.9872 GB, free: 19.63 MB / 0.6198 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.0001009/0.2667, allocations: 173.6 kB / 0.9874 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.2668, allocations: 23.75 kB / 0.9874 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.2668, allocations: 21.33 kB / 0.9874 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2668, allocations: 4 kB / 0.9874 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2668, allocations: 0 / 0.9874 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2668, allocations: 0 / 0.9874 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.2669, allocations: 209.6 kB / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2669, allocations: 0 / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.375e-05/0.267, allocations: 8 kB / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.267, allocations: 7.938 kB / 0.9876 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2671, allocations: 7.922 kB / 0.9876 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2671, allocations: 0 / 0.9876 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2671, allocations: 4 kB / 0.9876 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.2674, allocations: 218.6 kB / 0.9879 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.2674, allocations: 85.05 kB / 0.9879 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.2675, allocations: 7.938 kB / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.2676, allocations: 20.05 kB / 0.988 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.2676, allocations: 7.984 kB / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.2676, allocations: 4 kB / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.262e-05/0.2677, allocations: 140.2 kB / 0.9881 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2677, allocations: 0 / 0.9881 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002171/0.2679, allocations: 28 kB / 0.9881 GB, free: 18.57 MB / 0.6198 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 9.148e-05/0.268, allocations: 107.2 kB / 0.9882 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.2683, allocations: 218.6 kB / 0.9884 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2683, allocations: 0 / 0.9884 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.873e-05/0.2684, allocations: 107.3 kB / 0.9885 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.2687, allocations: 24.53 kB / 0.9886 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.2691, allocations: 333.9 kB / 0.9889 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.2693, allocations: 0.716 MB / 0.9896 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.165e-05/0.2694, allocations: 20.62 kB / 0.9896 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.2694, allocations: 15.44 kB / 0.9896 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.2694, allocations: 0 / 0.9896 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.003351/0.2728, allocations: 1.223 MB / 0.9908 GB, free: 15.75 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)