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.001554/0.001554, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.632/1.632, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.94/1.94, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001437/0.001437, allocations: 67.23 kB / 0.6715 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2713, allocations: 114.5 MB / 0.7833 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004151/0.2756, allocations: 2.3 MB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.2769, allocations: 0.8345 MB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.277, allocations: 7.938 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006295/0.2777, allocations: 139.4 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.2779, allocations: 63.64 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.2781, allocations: 55.83 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.2783, allocations: 159.5 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.2786, allocations: 97.05 kB / 0.7869 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.2788, allocations: 75.7 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.2789, allocations: 63.75 kB / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.279, allocations: 12 kB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.2791, allocations: 55.88 kB / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.743e-05/0.2792, allocations: 39.84 kB / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.696e-05/0.2793, allocations: 67.61 kB / 0.7872 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.2795, allocations: 167.7 kB / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2795, allocations: 0 / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2795, allocations: 0 / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.2796, allocations: 8 kB / 0.7874 GB, free: 9.359 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.0008207/0.2804, allocations: 490.5 kB / 0.7878 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.2804, allocations: 8.031 kB / 0.7878 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002395/0.2807, allocations: 28.73 kB / 0.7879 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.2809, allocations: 214.8 kB / 0.7881 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/0.281, allocations: 34.45 kB / 0.7881 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.2811, allocations: 12.12 kB / 0.7881 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.2814, allocations: 157.7 kB / 0.7883 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2814, allocations: 4 kB / 0.7883 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.2814, allocations: 4 kB / 0.7883 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.2814, allocations: 4 kB / 0.7883 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.2816, allocations: 83.89 kB / 0.7884 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008969/0.2826, allocations: 0.6441 MB / 0.789 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.2828, allocations: 58.55 kB / 0.7891 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.75e-05/0.2829, allocations: 32.91 kB / 0.7891 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.2829, allocations: 3.938 kB / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.2831, allocations: 138.8 kB / 0.7892 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.2831, allocations: 4 kB / 0.7892 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004412/0.2836, allocations: 167.2 kB / 0.7894 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.2837, allocations: 136.5 kB / 0.7895 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.2839, allocations: 178.9 kB / 0.7897 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.2839, allocations: 29.7 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.284, allocations: 143.7 kB / 0.7898 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.284, allocations: 19.8 kB / 0.7899 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/0.2841, allocations: 41.61 kB / 0.7899 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2842, allocations: 322.8 kB / 0.7902 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.831e-05/0.2843, allocations: 39.94 kB / 0.7903 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.2845, allocations: 116.1 kB / 0.7904 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.2847, allocations: 230.4 kB / 0.7906 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2847, allocations: 7.938 kB / 0.7906 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003616/0.2851, allocations: 236.7 kB / 0.7908 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.2852, allocations: 67.34 kB / 0.7909 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.2852, allocations: 7.938 kB / 0.7909 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.2852, allocations: 320 / 0.7909 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.2854, allocations: 31.98 kB / 0.7909 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.2854, allocations: 7.938 kB / 0.7909 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.2855, allocations: 31.73 kB / 0.791 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.2855, allocations: 8 kB / 0.791 GB, free: 5.273 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 (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.0001482/0.2857, allocations: 161.2 kB / 0.7911 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.2857, allocations: 11.91 kB / 0.7911 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.2858, allocations: 21.33 kB / 0.7912 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2858, allocations: 4 kB / 0.7912 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.2858, allocations: 4 kB / 0.7912 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2858, allocations: 0 / 0.7912 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.286, allocations: 213.6 kB / 0.7914 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.286, allocations: 3.938 kB / 0.7914 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.837e-05/0.2861, allocations: 11.94 kB / 0.7914 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2861, allocations: 0 / 0.7914 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.2861, allocations: 7.938 kB / 0.7914 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.2861, allocations: 3.984 kB / 0.7914 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2861, allocations: 0 / 0.7914 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.2865, allocations: 214.6 kB / 0.7916 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.344e-05/0.2866, allocations: 85.05 kB / 0.7917 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.2867, allocations: 7.938 kB / 0.7917 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/0.2868, allocations: 7.984 kB / 0.7917 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.2868, allocations: 8 kB / 0.7917 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.2868, allocations: 7.984 kB / 0.7917 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001102/0.287, allocations: 140.3 kB / 0.7918 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.287, allocations: 0 / 0.7918 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002415/0.2872, allocations: 35.91 kB / 0.7919 GB, free: 4.234 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 (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.000115/0.2873, allocations: 103.2 kB / 0.792 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.2877, allocations: 218.9 kB / 0.7922 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2877, allocations: 0.625 kB / 0.7922 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.2878, allocations: 107.4 kB / 0.7923 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.2881, allocations: 20.33 kB / 0.7923 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006186/0.2887, allocations: 294.3 kB / 0.7926 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.2891, allocations: 0.708 MB / 0.7933 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.254e-05/0.2892, allocations: 28.36 kB / 0.7933 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.2892, allocations: 19.38 kB / 0.7933 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.2892, allocations: 0 / 0.7933 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of Templates: time 0.004372/0.2936, allocations: 1.398 MB / 0.7947 GB, free: 1.273 MB / 0.6075 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)