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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 174 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007721/0.000772, allocations: 95.48 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002932, allocations: 5.812 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2015, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002557/0.2041, allocations: 2.038 MB / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.2053, allocations: 0.8306 MB / 0.8995 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.2055, allocations: 7.938 kB / 0.8995 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005744/0.2061, allocations: 135.5 kB / 0.8997 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.2063, allocations: 63.66 kB / 0.8997 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.2065, allocations: 47.95 kB / 0.8998 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.2067, allocations: 191.4 kB / 0.9 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.2069, allocations: 68.97 kB / 0.9 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.207, allocations: 51.83 kB / 0.9001 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.2072, allocations: 67.62 kB / 0.9001 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.2072, allocations: 4 kB / 0.9001 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.2073, allocations: 71.86 kB / 0.9002 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.2074, allocations: 27.91 kB / 0.9002 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.044e-05/0.2075, allocations: 55.67 kB / 0.9003 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.2077, allocations: 167.3 kB / 0.9005 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2077, allocations: 0 / 0.9005 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2077, allocations: 4 kB / 0.9005 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.2078, allocations: 0 / 0.9005 GB, free: 64.39 MB / 0.6042 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.000665/0.2084, allocations: 462.6 kB / 0.9009 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.2085, allocations: 12.02 kB / 0.9009 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.2087, allocations: 24.75 kB / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.2089, allocations: 216 kB / 0.9011 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.209, allocations: 46.42 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.209, allocations: 12.12 kB / 0.9012 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.2093, allocations: 152.1 kB / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2093, allocations: 0 / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.2094, allocations: 8 kB / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.2094, allocations: 4 kB / 0.9013 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.2096, allocations: 95.88 kB / 0.9014 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007739/0.2104, allocations: 0.6402 MB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.2106, allocations: 58.56 kB / 0.9021 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.95e-05/0.2107, allocations: 32.91 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.2107, allocations: 0 / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.2109, allocations: 157.7 kB / 0.9023 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.2109, allocations: 0 / 0.9023 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003334/0.2112, allocations: 167.3 kB / 0.9025 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.2113, allocations: 136.5 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.2114, allocations: 174.9 kB / 0.9028 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.2114, allocations: 33.7 kB / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.2115, allocations: 139.8 kB / 0.9029 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.2115, allocations: 27.59 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.2116, allocations: 21.7 kB / 0.903 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.005e-05/0.2116, allocations: 326.8 kB / 0.9033 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.2117, allocations: 39.98 kB / 0.9033 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.056e-05/0.2118, allocations: 114.2 kB / 0.9034 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.212, allocations: 234.4 kB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.212, allocations: 4 kB / 0.9037 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000285/0.2123, allocations: 244.6 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/0.2123, allocations: 59.41 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2124, allocations: 4 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2124, allocations: 8.25 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.2125, allocations: 39.92 kB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.2125, allocations: 7.984 kB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.2126, allocations: 23.84 kB / 0.904 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.2127, allocations: 8 kB / 0.904 GB, free: 60.3 MB / 0.6042 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 9.173e-05/0.2128, allocations: 168.5 kB / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.2128, allocations: 7.906 kB / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.2128, allocations: 25.33 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2128, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2128, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.2129, allocations: 88.92 kB / 0.9043 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.2129, allocations: 4 kB / 0.9043 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.052e-05/0.213, allocations: 15.98 kB / 0.9043 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.2131, allocations: 7.984 kB / 0.9043 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002825/0.2134, allocations: 286 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003287/0.2137, allocations: 384.5 kB / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.669e-05/0.2138, allocations: 52.14 kB / 0.905 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.101e-05/0.2139, allocations: 143.1 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of Backend: time 4.71e-07/0.2139, allocations: 0 / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005524/0.2144, allocations: 303.9 kB / 0.9055 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005808/0.215, allocations: 0.8212 MB / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.004278/0.2193, allocations: 1.507 MB / 0.9077 GB, free: 56.37 MB / 0.6042 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)