Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.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.0008779/0.0008779, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0009719/0.0009719, allocations: 177.9 kB / 23.21 MB, free: 1.34 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 0.8444/0.8444, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001374/0.001374, allocations: 225.3 kB / 260.2 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6575/0.6575, allocations: 138.4 MB / 455.1 MB, free: 30 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.6475 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.824e-05, allocations: 5.094 kB / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.2143/0.2143, allocations: 1.421 MB / 0.6489 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.2163, allocations: 2.392 MB / 0.6512 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.2163, allocations: 1.594 kB / 0.6512 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.2174, allocations: 0.5541 MB / 0.6518 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.2174, allocations: 16.58 kB / 0.6518 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 3.666e-06/0.2174, allocations: 0.9375 kB / 0.6518 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.2176, allocations: 168.1 kB / 0.6519 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.2176, allocations: 15.31 kB / 0.652 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.181e-05/0.2177, allocations: 84.09 kB / 0.652 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.855e-05/0.2178, allocations: 67.45 kB / 0.6521 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2178, allocations: 5.938 kB / 0.6521 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005517/0.2184, allocations: 405.3 kB / 0.6525 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.2184, allocations: 35.39 kB / 0.6525 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.2185, allocations: 57.62 kB / 0.6526 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.2189, allocations: 456.9 kB / 0.653 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2189, allocations: 3.938 kB / 0.653 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2189, allocations: 0 / 0.653 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2189, allocations: 0 / 0.653 GB, free: 54.96 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000444/0.2193, allocations: 480.5 kB / 0.6535 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.2194, allocations: 10.09 kB / 0.6535 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.503e-05/0.2195, allocations: 108.6 kB / 0.6536 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2196, allocations: 245.9 kB / 0.6538 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.2196, allocations: 159.7 kB / 0.654 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.2196, allocations: 152.2 kB / 0.6541 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.498e-05/0.2196, allocations: 108.3 kB / 0.6542 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2196, allocations: 75.47 kB / 0.6543 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2197, allocations: 154.6 kB / 0.6544 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.2197, allocations: 154.4 kB / 0.6546 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.43e-05/0.2197, allocations: 156.3 kB / 0.6547 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.2199, allocations: 498 kB / 0.6552 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.968e-05/0.2199, allocations: 168 kB / 0.6554 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.101e-05/0.2199, allocations: 80.64 kB / 0.6555 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.2199, allocations: 77.56 kB / 0.6555 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.2199, allocations: 115.5 kB / 0.6556 GB, free: 52.47 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.2199, allocations: 0 / 0.6556 GB, free: 52.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 9.955e-05/0.22, allocations: 59.58 kB / 0.6557 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.2201, allocations: 128.4 kB / 0.6558 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.2203, allocations: 436.8 kB / 0.6562 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-06/0.2204, allocations: 30.86 kB / 0.6563 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.2204, allocations: 132.2 kB / 0.6564 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.2204, allocations: 0 / 0.6564 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.2205, allocations: 92.06 kB / 0.6565 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.044e-05/0.2205, allocations: 340.7 kB / 0.6568 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/0.2206, allocations: 99.38 kB / 0.6569 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.556e-05/0.2207, allocations: 164.7 kB / 0.6571 GB, free: 51.47 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.2209, allocations: 306.9 kB / 0.6573 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2209, allocations: 1.031 kB / 0.6573 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003196/0.2212, allocations: 329 kB / 0.6577 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2212, allocations: 8.281 kB / 0.6577 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2212, allocations: 5.812 kB / 0.6577 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2212, allocations: 1.812 kB / 0.6577 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.414e-06/0.2212, allocations: 2.562 kB / 0.6577 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2212, allocations: 4.344 kB / 0.6577 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.712e-05/0.2213, allocations: 50.61 kB / 0.6577 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.2213, allocations: 4 kB / 0.6577 GB, free: 51.14 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001426/0.2215, allocations: 240.9 kB / 0.658 GB, free: 50.95 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.2215, allocations: 131.1 kB / 0.6581 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.2215, allocations: 118.1 kB / 0.6582 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.2215, allocations: 183.4 kB / 0.6584 GB, free: 50.52 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.2215, allocations: 182.1 kB / 0.6586 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.2216, allocations: 182.8 kB / 0.6587 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.2217, allocations: 427.9 kB / 0.6591 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.2217, allocations: 101 kB / 0.6592 GB, free: 49.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/0.2217, allocations: 107.2 kB / 0.6593 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/0.2217, allocations: 183.4 kB / 0.6595 GB, free: 49.36 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.2217, allocations: 178.1 kB / 0.6597 GB, free: 49.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/0.2217, allocations: 185.2 kB / 0.6599 GB, free: 48.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/0.2218, allocations: 178.8 kB / 0.66 GB, free: 48.81 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.307e-05/0.2218, allocations: 331.5 kB / 0.6603 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.2218, allocations: 131.4 kB / 0.6605 GB, free: 48.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.2219, allocations: 187.2 kB / 0.6606 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.481e-05/0.2219, allocations: 102.8 kB / 0.6607 GB, free: 48.06 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.2219, allocations: 182.4 kB / 0.6609 GB, free: 47.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.222, allocations: 105 kB / 0.661 GB, free: 47.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001629/0.2221, allocations: 281.6 kB / 0.6613 GB, free: 47.64 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2221, allocations: 0 / 0.6613 GB, free: 47.64 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002474/0.2224, allocations: 89 kB / 0.6614 GB, free: 47.62 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0002478/0.2226, allocations: 314.9 kB / 0.6617 GB, free: 47.41 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.2227, allocations: 122.8 kB / 0.6618 GB, free: 47.37 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2228, allocations: 0 / 0.6618 GB, free: 47.37 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.2228, allocations: 0 / 0.6618 GB, free: 47.37 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.223, allocations: 464.9 kB / 0.6622 GB, free: 46.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.2234, allocations: 0.5003 MB / 0.6627 GB, free: 46.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.165e-05/0.2235, allocations: 169 kB / 0.6629 GB, free: 46.49 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.2235, allocations: 9.594 kB / 0.6629 GB, free: 46.49 MB / 0.5573 GB Notification: Performance of SimCode: time 5.91e-07/0.2235, allocations: 0 / 0.6629 GB, free: 46.49 MB / 0.5573 GB Notification: Performance of Templates: time 0.003675/0.2271, allocations: 3.28 MB / 0.6661 GB, free: 46.22 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.294327448122203] Failed to read output from testmodel.py, exit status != 0: 0.232496059499681 0.23910798699999997 0.018639932 Calling exit ...