Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 80.52 kB / 19.96 MB, free: 4.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002106/0.002106, allocations: 173.2 kB / 23.24 MB, free: 1.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.747/1.747, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.226/3.226, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 1.001 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.495e-05, allocations: 9.375 kB / 1.001 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.005362/0.005397, allocations: 2.29 MB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002253/0.00765, allocations: 0.8025 MB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.007855, allocations: 7.938 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0008274/0.008682, allocations: 159.2 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.00895, allocations: 67.53 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.009197, allocations: 59.81 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.009518, allocations: 171.3 kB / 1.005 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.009805, allocations: 84.11 kB / 1.005 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.01005, allocations: 95.78 kB / 1.005 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.01024, allocations: 55.8 kB / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.01027, allocations: 12 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.01042, allocations: 63.83 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.0105, allocations: 39.83 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.291e-05/0.01059, allocations: 47.91 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.01094, allocations: 183.4 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.01095, allocations: 0 / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.913e-06/0.01095, allocations: 4 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.01096, allocations: 0 / 1.005 GB, free: 8.941 MB / 0.9636 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.0009254/0.01188, allocations: 429.1 kB / 1.006 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.01194, allocations: 9.344 kB / 1.006 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003559/0.01229, allocations: 36.83 kB / 1.006 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.01261, allocations: 158.1 kB / 1.006 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.01272, allocations: 64.14 kB / 1.006 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.01276, allocations: 12.38 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.01316, allocations: 179.3 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.01317, allocations: 0 / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.0132, allocations: 4 kB / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-05/0.01323, allocations: 7.938 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.01351, allocations: 117.6 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.01458, allocations: 0.5582 MB / 1.007 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.01491, allocations: 88.19 kB / 1.007 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.01503, allocations: 58.55 kB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.01505, allocations: 0 / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002951/0.01535, allocations: 172.5 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.01535, allocations: 0 / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0005097/0.01586, allocations: 226.8 kB / 1.007 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.016, allocations: 144.4 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.01622, allocations: 182.3 kB / 1.007 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.01625, allocations: 29.7 kB / 1.007 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.01638, allocations: 143.6 kB / 1.008 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.01642, allocations: 23.88 kB / 1.008 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/0.01649, allocations: 33.67 kB / 1.008 GB, free: 6.027 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.01669, allocations: 330.8 kB / 1.008 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.01684, allocations: 95.39 kB / 1.008 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.01706, allocations: 168.8 kB / 1.008 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.01738, allocations: 238.3 kB / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01738, allocations: 0 / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004656/0.01785, allocations: 296.1 kB / 1.009 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.167e-05/0.01792, allocations: 67.39 kB / 1.009 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.01793, allocations: 4 kB / 1.009 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.01795, allocations: 4.312 kB / 1.009 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.01809, allocations: 35.92 kB / 1.009 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.0181, allocations: 7.938 kB / 1.009 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.01824, allocations: 23.88 kB / 1.009 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.01826, allocations: 8 kB / 1.009 GB, free: 4.613 MB / 0.9636 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.000185/0.01845, allocations: 169.5 kB / 1.009 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.01848, allocations: 15.91 kB / 1.009 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.01853, allocations: 13.47 kB / 1.009 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01853, allocations: 48 / 1.009 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.01854, allocations: 11.92 kB / 1.009 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.01854, allocations: 0 / 1.009 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.01873, allocations: 149.3 kB / 1.009 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01873, allocations: 0 / 1.009 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.117e-05/0.01881, allocations: 8 kB / 1.009 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.01881, allocations: 3.938 kB / 1.009 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.01883, allocations: 4 kB / 1.009 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01883, allocations: 0 / 1.009 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.01883, allocations: 3.984 kB / 1.009 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.01934, allocations: 274.1 kB / 1.01 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.01936, allocations: 16 kB / 1.01 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.01939, allocations: 4 kB / 1.01 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01949, allocations: 11.98 kB / 1.01 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-05/0.01957, allocations: 19.8 kB / 1.01 GB, free: 3.84 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.01958, allocations: 4 kB / 1.01 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001445/0.01973, allocations: 133.6 kB / 1.01 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.01973, allocations: 0 / 1.01 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002623/0.01999, allocations: 35.95 kB / 1.01 GB, free: 3.672 MB / 0.9636 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.0001797/0.02017, allocations: 95.25 kB / 1.01 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005199/0.02069, allocations: 307.7 kB / 1.01 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02069, allocations: 0 / 1.01 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.02087, allocations: 121.1 kB / 1.01 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.02113, allocations: 16 kB / 1.01 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007757/0.02191, allocations: 312.3 kB / 1.011 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.02203, allocations: 110.2 kB / 1.011 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.016e-05/0.02211, allocations: 20.64 kB / 1.011 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.02215, allocations: 12.5 kB / 1.011 GB, free: 2.57 MB / 0.9636 GB Notification: Performance of SimCode: time 3.91e-07/0.02215, allocations: 0 / 1.011 GB, free: 2.57 MB / 0.9636 GB Notification: Performance of Templates: time 0.005516/0.02767, allocations: 1.473 MB / 1.012 GB, free: 1.137 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.52140646893531]