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.001205/0.001205, allocations: 107.7 kB / 16.38 MB, free: 6.484 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.001159/0.001159, allocations: 189.4 kB / 17.31 MB, free: 5.82 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.575/1.575, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.906/1.906, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001698/0.001698, allocations: 63.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.237, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004612/0.2416, allocations: 2.302 MB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2431, allocations: 0.8229 MB / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.2433, allocations: 4 kB / 0.7878 GB, free: 0 / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.4073/0.6506, allocations: 142.1 kB / 0.788 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.6509, allocations: 61.53 kB / 0.788 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.6511, allocations: 57.98 kB / 0.7881 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.6513, allocations: 166.8 kB / 0.7883 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.6516, allocations: 92.7 kB / 0.7883 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.6517, allocations: 72.2 kB / 0.7884 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.6518, allocations: 70.06 kB / 0.7885 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.6519, allocations: 11.28 kB / 0.7885 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.652, allocations: 55.83 kB / 0.7885 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.652, allocations: 41.17 kB / 0.7886 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.825e-05/0.6521, allocations: 65.72 kB / 0.7886 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.6523, allocations: 167.6 kB / 0.7888 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6523, allocations: 0 / 0.7888 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6524, allocations: 0 / 0.7888 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.6524, allocations: 1.656 kB / 0.7888 GB, free: 46.61 MB / 0.6544 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.0006604/0.653, allocations: 0.4888 MB / 0.7893 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.6531, allocations: 11.84 kB / 0.7893 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.6533, allocations: 22.39 kB / 0.7893 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.6535, allocations: 210.3 kB / 0.7895 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/0.6536, allocations: 35.2 kB / 0.7895 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.6536, allocations: 14.09 kB / 0.7896 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.6539, allocations: 158.1 kB / 0.7897 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.6539, allocations: 3.938 kB / 0.7897 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.6539, allocations: 2.625 kB / 0.7897 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.6539, allocations: 5.25 kB / 0.7897 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.6541, allocations: 88.94 kB / 0.7898 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007006/0.6548, allocations: 0.6357 MB / 0.7904 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.6551, allocations: 59.09 kB / 0.7905 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.859e-05/0.6552, allocations: 28.5 kB / 0.7905 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.6552, allocations: 0.5469 kB / 0.7905 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.6554, allocations: 151.6 kB / 0.7907 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.6554, allocations: 0 / 0.7907 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003349/0.6557, allocations: 165.2 kB / 0.7908 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.6558, allocations: 139.1 kB / 0.7909 GB, free: 45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.6559, allocations: 176.8 kB / 0.7911 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.6559, allocations: 30.89 kB / 0.7911 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.656, allocations: 142.1 kB / 0.7913 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.656, allocations: 19.56 kB / 0.7913 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.6561, allocations: 40.38 kB / 0.7913 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.68e-05/0.6561, allocations: 324.3 kB / 0.7916 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.047e-05/0.6562, allocations: 39.75 kB / 0.7917 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.6563, allocations: 115.1 kB / 0.7918 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.6565, allocations: 226.1 kB / 0.792 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6565, allocations: 0 / 0.792 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002854/0.6568, allocations: 245.6 kB / 0.7922 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.6569, allocations: 61.84 kB / 0.7923 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.6569, allocations: 2.594 kB / 0.7923 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6569, allocations: 6.719 kB / 0.7923 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.657, allocations: 34.28 kB / 0.7923 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.657, allocations: 8.375 kB / 0.7924 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.6572, allocations: 23.84 kB / 0.7924 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.6572, allocations: 8.062 kB / 0.7924 GB, free: 43.98 MB / 0.6544 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 8.923e-05/0.6573, allocations: 160.3 kB / 0.7925 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.6573, allocations: 15.69 kB / 0.7926 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.6573, allocations: 17.38 kB / 0.7926 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.6573, allocations: 12.09 kB / 0.7926 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6573, allocations: 0 / 0.7926 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.6574, allocations: 90.8 kB / 0.7927 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.6574, allocations: 2.625 kB / 0.7927 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.6575, allocations: 13 kB / 0.7927 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.6576, allocations: 8.688 kB / 0.7927 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002892/0.6579, allocations: 288.8 kB / 0.793 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003278/0.6582, allocations: 364.2 kB / 0.7933 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.294e-05/0.6583, allocations: 48.25 kB / 0.7934 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.337e-05/0.6584, allocations: 140.9 kB / 0.7935 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of Backend: time 6.11e-07/0.6584, allocations: 1.625 kB / 0.7935 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005476/0.6589, allocations: 314.1 kB / 0.7938 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000593/0.6595, allocations: 0.7664 MB / 0.7945 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.004321/0.6639, allocations: 1.718 MB / 0.7962 GB, free: 42.21 MB / 0.6544 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)