Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001392/0.001392, allocations: 96.42 kB / 20.45 MB, free: 1.262 MB / 14.72 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.001665/0.001665, allocations: 212 kB / 23.74 MB, free: 4.445 MB / 14.72 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9689/0.9689, allocations: 149.9 MB / 463.8 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 70.98 kB / 0.6423 GB, free: 9.668 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1839, allocations: 89.16 MB / 0.7293 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.0038/0.1877, allocations: 2.302 MB / 0.7316 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1891, allocations: 0.8222 MB / 0.7324 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.1892, allocations: 7.938 kB / 0.7324 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005807/0.1898, allocations: 139.4 kB / 0.7325 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.19, allocations: 71.59 kB / 0.7326 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.1902, allocations: 59.88 kB / 0.7327 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.1904, allocations: 167.4 kB / 0.7328 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.1907, allocations: 77.12 kB / 0.7329 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.1908, allocations: 79.7 kB / 0.733 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.191, allocations: 63.73 kB / 0.733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.191, allocations: 12 kB / 0.733 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.1912, allocations: 63.81 kB / 0.7331 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.1912, allocations: 43.78 kB / 0.7331 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.993e-05/0.1913, allocations: 51.73 kB / 0.7332 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.1916, allocations: 175.3 kB / 0.7334 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1916, allocations: 0 / 0.7334 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1916, allocations: 4 kB / 0.7334 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.1916, allocations: 0 / 0.7334 GB, free: 12.42 MB / 0.5606 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.0007621/0.1924, allocations: 425.2 kB / 0.7338 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1924, allocations: 12.03 kB / 0.7338 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002954/0.1927, allocations: 40.81 kB / 0.7338 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1929, allocations: 164.1 kB / 0.734 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.402e-05/0.193, allocations: 63.72 kB / 0.734 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.1931, allocations: 12 kB / 0.734 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.1934, allocations: 182 kB / 0.7342 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1934, allocations: 3.938 kB / 0.7342 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1934, allocations: 4 kB / 0.7342 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.1934, allocations: 4 kB / 0.7342 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.1936, allocations: 121.6 kB / 0.7343 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008141/0.1944, allocations: 0.5464 MB / 0.7349 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.1947, allocations: 92.17 kB / 0.735 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.424e-05/0.1948, allocations: 54.61 kB / 0.735 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.1948, allocations: 4 kB / 0.735 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.1951, allocations: 176.6 kB / 0.7352 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.1951, allocations: 0 / 0.7352 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004236/0.1955, allocations: 222.5 kB / 0.7354 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.804e-05/0.1956, allocations: 136.5 kB / 0.7355 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1958, allocations: 186.3 kB / 0.7357 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.1958, allocations: 33.69 kB / 0.7357 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1959, allocations: 139.7 kB / 0.7359 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.1959, allocations: 27.81 kB / 0.7359 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.196, allocations: 45.67 kB / 0.736 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1961, allocations: 326.8 kB / 0.7363 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1963, allocations: 87.39 kB / 0.7363 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.1964, allocations: 171 kB / 0.7365 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.1967, allocations: 238.3 kB / 0.7367 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1967, allocations: 0 / 0.7367 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004174/0.1972, allocations: 304.4 kB / 0.737 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/0.1972, allocations: 71.39 kB / 0.7371 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1972, allocations: 0 / 0.7371 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1972, allocations: 4 kB / 0.7371 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1974, allocations: 31.92 kB / 0.7371 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1974, allocations: 4 kB / 0.7371 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.1975, allocations: 27.88 kB / 0.7372 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.1975, allocations: 8 kB / 0.7372 GB, free: 8.082 MB / 0.5606 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.0001435/0.1977, allocations: 164 kB / 0.7373 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.1977, allocations: 23.84 kB / 0.7373 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.1977, allocations: 13.41 kB / 0.7374 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1977, allocations: 0 / 0.7374 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.1977, allocations: 4 kB / 0.7374 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1977, allocations: 0 / 0.7374 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.1979, allocations: 145.3 kB / 0.7375 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1979, allocations: 0 / 0.7375 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.198, allocations: 8 kB / 0.7375 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.198, allocations: 0 / 0.7375 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.198, allocations: 7.938 kB / 0.7375 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.198, allocations: 7.984 kB / 0.7375 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.198, allocations: 4 kB / 0.7375 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004606/0.1985, allocations: 282.4 kB / 0.7378 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.1985, allocations: 11.89 kB / 0.7378 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.1985, allocations: 11.88 kB / 0.7378 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.852e-05/0.1986, allocations: 11.98 kB / 0.7378 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.1987, allocations: 15.97 kB / 0.7378 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1987, allocations: 0 / 0.7378 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001184/0.1988, allocations: 136.3 kB / 0.738 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1988, allocations: 64 / 0.738 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002401/0.199, allocations: 31.95 kB / 0.738 GB, free: 7.133 MB / 0.5606 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.0001106/0.1991, allocations: 99.25 kB / 0.7381 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003898/0.1995, allocations: 299.7 kB / 0.7384 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1995, allocations: 0 / 0.7384 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.1997, allocations: 125 kB / 0.7385 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.1999, allocations: 18.81 kB / 0.7385 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006568/0.2006, allocations: 361.9 kB / 0.7389 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2007, allocations: 102.3 kB / 0.739 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.2007, allocations: 11.44 kB / 0.739 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.2007, allocations: 0 / 0.739 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of Templates: time 0.003719/0.2044, allocations: 1.771 MB / 0.7407 GB, free: 4.246 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.212331702001393] Failed to read output from testmodel.py, exit status != 0: 0.21279815630987287 0.226749219 0.032233385 Calling exit ...