Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.474/2.474, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001905/0.001905, allocations: 188.3 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.64/2.64, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009052/0.000905, allocations: 94.73 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004767, allocations: 14.89 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2179, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003081/0.221, allocations: 1.959 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.2227, allocations: 0.7728 MB / 0.9017 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.2228, allocations: 0 / 0.9017 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.223, allocations: 15.86 kB / 0.9017 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.2233, allocations: 55.73 kB / 0.9018 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.2235, allocations: 51.77 kB / 0.9018 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.2238, allocations: 159.4 kB / 0.902 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.2241, allocations: 197.8 kB / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.2242, allocations: 55.77 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.2244, allocations: 63.69 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.2244, allocations: 8 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.2245, allocations: 23.98 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.22e-05/0.2246, allocations: 27.91 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.2247, allocations: 45.64 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.2249, allocations: 124 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2249, allocations: 4 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2249, allocations: 0 / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2249, allocations: 4 kB / 0.9025 GB, free: 61.78 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.0007216/0.2257, allocations: 466.6 kB / 0.9029 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2257, allocations: 8.031 kB / 0.9029 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/0.226, allocations: 32.73 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.2263, allocations: 208.1 kB / 0.9032 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.2263, allocations: 38.45 kB / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.2264, allocations: 15.94 kB / 0.9032 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.2267, allocations: 148.1 kB / 0.9034 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2268, allocations: 0 / 0.9034 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.2268, allocations: 8 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.2268, allocations: 4 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.2272, allocations: 83.95 kB / 0.9035 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.2282, allocations: 0.6479 MB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.2285, allocations: 66.55 kB / 0.9042 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.2287, allocations: 28.91 kB / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.2287, allocations: 4 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.2289, allocations: 146.9 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.176e-06/0.229, allocations: 0 / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005247/0.2295, allocations: 179 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.2296, allocations: 136.5 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.2298, allocations: 174.9 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2298, allocations: 29.7 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.2299, allocations: 139.7 kB / 0.905 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.2299, allocations: 23.73 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.23, allocations: 8 kB / 0.905 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.23, allocations: 322.8 kB / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.2302, allocations: 35.98 kB / 0.9053 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.2304, allocations: 120.4 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.2306, allocations: 107.3 kB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2306, allocations: 4 kB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005241/0.2311, allocations: 240.9 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.2312, allocations: 71.38 kB / 0.9058 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.2312, allocations: 0 / 0.9058 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.2312, allocations: 4 kB / 0.9059 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.2315, allocations: 35.91 kB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.2315, allocations: 4 kB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.2317, allocations: 27.84 kB / 0.9059 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.2317, allocations: 4 kB / 0.9059 GB, free: 57.9 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 ($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.0001439/0.2319, allocations: 167.5 kB / 0.9061 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.2319, allocations: 19.84 kB / 0.9061 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.232, allocations: 13.39 kB / 0.9061 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.232, allocations: 0 / 0.9061 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.232, allocations: 4 kB / 0.9061 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.232, allocations: 48 / 0.9061 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.2322, allocations: 225.5 kB / 0.9063 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2322, allocations: 0 / 0.9063 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.2324, allocations: 15.98 kB / 0.9063 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2324, allocations: 7.938 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.2324, allocations: 0 / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2324, allocations: 7.938 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2324, allocations: 0 / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.233, allocations: 214.6 kB / 0.9066 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.233, allocations: 93.02 kB / 0.9067 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.2331, allocations: 7.938 kB / 0.9067 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.2333, allocations: 15.98 kB / 0.9067 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/0.2333, allocations: 7.984 kB / 0.9067 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.2334, allocations: 4 kB / 0.9067 GB, free: 57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001248/0.2335, allocations: 136.3 kB / 0.9068 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2335, allocations: 0 / 0.9068 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003328/0.2339, allocations: 31.94 kB / 0.9068 GB, free: 56.84 MB / 0.6042 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.0001127/0.234, allocations: 107.2 kB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004146/0.2344, allocations: 222.6 kB / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2344, allocations: 0 / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.2346, allocations: 111.9 kB / 0.9073 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.2349, allocations: 21.89 kB / 0.9073 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007722/0.2357, allocations: 334.2 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.2359, allocations: 0.7121 MB / 0.9083 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.2361, allocations: 24.62 kB / 0.9083 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.2361, allocations: 11.44 kB / 0.9083 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of SimCode: time 1.332e-06/0.2361, allocations: 0 / 0.9083 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.005066/0.2412, allocations: 1.19 MB / 0.9095 GB, free: 54.04 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)