Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0006882/0.0006882, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001695, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006974/0.0006974, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009459/0.001643, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.899/0.899, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08386/0.9829, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 234.9 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00169/0.003731, allocations: 483.3 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7653/0.7653, allocations: 138.7 MB / 384.3 MB, free: 372 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1038/0.8691, allocations: 42.4 MB / 426.7 MB, free: 5.832 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 428 MB, free: 4.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.053e-05, allocations: 2.312 kB / 428 MB, free: 4.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003704/0.003724, allocations: 2.183 MB / 430.2 MB, free: 2.332 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.004849, allocations: 0.7165 MB / 430.9 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.616e-05/0.004936, allocations: 0 / 430.9 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.00536, allocations: 115.4 kB / 431 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.005514, allocations: 79.45 kB / 431.1 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.00569, allocations: 71.73 kB / 431.2 MB, free: 1.348 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.005939, allocations: 175.3 kB / 431.3 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.006134, allocations: 77.84 kB / 431.4 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.006347, allocations: 123.7 kB / 431.5 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.006513, allocations: 67.72 kB / 431.6 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.006537, allocations: 12 kB / 431.6 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.006653, allocations: 51.89 kB / 431.7 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.006706, allocations: 35.86 kB / 431.7 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.00676, allocations: 35.94 kB / 431.7 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004681/0.007228, allocations: 123.6 kB / 431.9 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.00724, allocations: 0 / 431.9 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.00724, allocations: 4 kB / 431.9 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.007253, allocations: 3.938 kB / 431.9 MB, free: 0.6523 MB / 410.7 MB 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.0005957/0.007849, allocations: 423.5 kB / 432.3 MB, free: 208 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.007882, allocations: 8.031 kB / 432.3 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.00821, allocations: 129.9 kB / 432.4 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1943/0.2025, allocations: 142.9 kB / 432.6 MB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/0.2025, allocations: 62.11 kB / 432.6 MB, free: 1.668 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.2026, allocations: 11.41 kB / 432.6 MB, free: 1.668 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.2028, allocations: 161.2 kB / 432.8 MB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.2028, allocations: 1.125 kB / 432.8 MB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2028, allocations: 7.125 kB / 432.8 MB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.2028, allocations: 4.344 kB / 432.8 MB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.103e-05/0.2029, allocations: 56.12 kB / 432.9 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006479/0.2035, allocations: 0.4924 MB / 433.3 MB, free: 17.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.2037, allocations: 65.52 kB / 433.4 MB, free: 17.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.2037, allocations: 40.59 kB / 433.5 MB, free: 17.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.2038, allocations: 2.078 kB / 433.5 MB, free: 17.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.204, allocations: 162.4 kB / 433.6 MB, free: 16.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.204, allocations: 0.875 kB / 433.6 MB, free: 16.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002006/0.2042, allocations: 176.5 kB / 433.8 MB, free: 16.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.2043, allocations: 162 kB / 433.9 MB, free: 16.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.2044, allocations: 173 kB / 434.1 MB, free: 16.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.2044, allocations: 28.2 kB / 434.1 MB, free: 16.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.2045, allocations: 141.5 kB / 434.3 MB, free: 16.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.2045, allocations: 20.91 kB / 434.3 MB, free: 16.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/0.2045, allocations: 41.05 kB / 434.3 MB, free: 16.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.247e-05/0.2046, allocations: 330 kB / 434.7 MB, free: 16.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-05/0.2047, allocations: 72.59 kB / 434.7 MB, free: 15.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.607e-05/0.2048, allocations: 142.8 kB / 434.9 MB, free: 15.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.2049, allocations: 208.8 kB / 435.1 MB, free: 15.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2049, allocations: 1.562 kB / 435.1 MB, free: 15.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000214/0.2051, allocations: 232.4 kB / 435.3 MB, free: 15.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.2052, allocations: 65.38 kB / 435.4 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2052, allocations: 4.438 kB / 435.4 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2052, allocations: 1.562 kB / 435.4 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.2054, allocations: 36.45 kB / 435.4 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2054, allocations: 5.812 kB / 435.4 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.2055, allocations: 25.02 kB / 435.4 MB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.2055, allocations: 14.5 kB / 435.5 MB, free: 15.4 MB / 426.7 MB 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.0001065/0.2056, allocations: 159.5 kB / 435.6 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.2056, allocations: 18.95 kB / 435.6 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.2057, allocations: 14.95 kB / 435.6 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2057, allocations: 1.078 kB / 435.6 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2057, allocations: 5.438 kB / 435.6 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2057, allocations: 3 kB / 435.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.2058, allocations: 98.14 kB / 435.7 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2058, allocations: 0 / 435.7 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.2059, allocations: 15.45 kB / 435.8 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.2059, allocations: 11.62 kB / 435.8 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2059, allocations: 4.125 kB / 435.8 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2059, allocations: 2.156 kB / 435.8 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2059, allocations: 0 / 435.8 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2059, allocations: 0.9844 kB / 435.8 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.2061, allocations: 226.6 kB / 436 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.2061, allocations: 2.469 kB / 436 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.396e-05/0.2062, allocations: 9.297 kB / 436 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.2062, allocations: 6.938 kB / 436 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.2063, allocations: 6.141 kB / 436 MB, free: 14.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.668e-05/0.2063, allocations: 44.42 kB / 436.1 MB, free: 14.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2063, allocations: 0.625 kB / 436.1 MB, free: 14.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002292/0.2065, allocations: 35.42 kB / 436.1 MB, free: 14.98 MB / 426.7 MB 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.0001008/0.2066, allocations: 83.77 kB / 436.2 MB, free: 14.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.2069, allocations: 274.8 kB / 436.5 MB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.2069, allocations: 3.859 kB / 436.5 MB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.207, allocations: 117.3 kB / 436.6 MB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.2072, allocations: 128 kB / 436.7 MB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.2086, allocations: 316.7 kB / 437 MB, free: 14.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.079e-05/0.2087, allocations: 71.62 kB / 437.1 MB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.781e-05/0.2087, allocations: 13.72 kB / 437.1 MB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.2088, allocations: 77.86 kB / 437.2 MB, free: 14.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2088, allocations: 0 / 437.2 MB, free: 14.16 MB / 426.7 MB Notification: Performance of Templates: time 0.004477/0.2133, allocations: 1.534 MB / 438.7 MB, free: 14.12 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.482979484833777]