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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 116.4 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 194.1 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] 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.00241/0.00241, allocations: 289.2 kB / 303.6 MB, free: 3.68 MB / 238.1 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 1.086/1.086, allocations: 180.9 MB / 0.5268 GB, free: 2.68 MB / 382.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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 0.003233/0.003233, allocations: 99.84 kB / 0.7259 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5997/0.6029, allocations: 94.15 MB / 0.8178 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002217/0.6051, allocations: 1.427 MB / 0.8192 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002507/0.6076, allocations: 2.686 MB / 0.8219 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.6077, allocations: 1.031 kB / 0.8219 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.609, allocations: 0.5903 MB / 0.8224 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.702e-05/0.6091, allocations: 20.81 kB / 0.8225 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.6091, allocations: 0 / 0.8225 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.6093, allocations: 158.4 kB / 0.8226 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.272e-05/0.6094, allocations: 22.69 kB / 0.8226 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.916e-05/0.6094, allocations: 69.69 kB / 0.8227 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.6096, allocations: 77.56 kB / 0.8228 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.6096, allocations: 2.594 kB / 0.8228 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.6106, allocations: 472.1 kB / 0.8232 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.6106, allocations: 34.95 kB / 0.8233 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.644e-05/0.6107, allocations: 99.67 kB / 0.8233 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005734/0.6113, allocations: 432.9 kB / 0.8238 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6113, allocations: 0.5156 kB / 0.8238 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6113, allocations: 0 / 0.8238 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.6113, allocations: 0 / 0.8238 GB, free: 3.73 MB / 0.5762 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.0006052/0.6119, allocations: 0.5591 MB / 0.8243 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.612, allocations: 9.562 kB / 0.8243 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.6121, allocations: 105.5 kB / 0.8244 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.6122, allocations: 309.3 kB / 0.8247 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.6123, allocations: 150.9 kB / 0.8249 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.6123, allocations: 158.7 kB / 0.825 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.936e-05/0.6124, allocations: 110 kB / 0.8251 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.6124, allocations: 75.47 kB / 0.8252 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.6124, allocations: 155.1 kB / 0.8253 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.6124, allocations: 154.6 kB / 0.8255 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.937e-05/0.6124, allocations: 151.1 kB / 0.8256 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002485/0.6127, allocations: 0.5359 MB / 0.8261 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.754e-05/0.6127, allocations: 177.1 kB / 0.8263 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.6127, allocations: 83.14 kB / 0.8264 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.6127, allocations: 75.28 kB / 0.8265 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.6128, allocations: 110.5 kB / 0.8266 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.6128, allocations: 0 / 0.8266 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001624/0.6129, allocations: 57.64 kB / 0.8266 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.6129, allocations: 131.4 kB / 0.8268 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.6133, allocations: 430.8 kB / 0.8272 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.6133, allocations: 25.7 kB / 0.8272 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.6134, allocations: 134.3 kB / 0.8273 GB, free: 388 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.6134, allocations: 3.938 kB / 0.8273 GB, free: 384 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/0.6134, allocations: 96.09 kB / 0.8274 GB, free: 340 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.565e-05/0.6135, allocations: 337.5 kB / 0.8277 GB, free: 8 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.6136, allocations: 99.67 kB / 0.8278 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.6138, allocations: 166.5 kB / 0.828 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.6141, allocations: 304 kB / 0.8283 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6141, allocations: 3.969 kB / 0.8283 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004974/0.6146, allocations: 328.7 kB / 0.8286 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.6146, allocations: 5.406 kB / 0.8286 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.6147, allocations: 7.141 kB / 0.8286 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.6147, allocations: 1.156 kB / 0.8286 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.714e-06/0.6147, allocations: 11.41 kB / 0.8286 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.6147, allocations: 3.125 kB / 0.8286 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.6148, allocations: 45.89 kB / 0.8287 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.6148, allocations: 6.719 kB / 0.8287 GB, free: 15.52 MB / 0.5919 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.000239/0.6151, allocations: 242.6 kB / 0.8289 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.6152, allocations: 127.6 kB / 0.829 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.524e-05/0.6152, allocations: 117.5 kB / 0.8291 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.593e-05/0.6153, allocations: 180.9 kB / 0.8293 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.689e-05/0.6154, allocations: 185 kB / 0.8295 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.3e-05/0.6155, allocations: 183.5 kB / 0.8297 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.6158, allocations: 480.7 kB / 0.8301 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.108e-05/0.6159, allocations: 102.2 kB / 0.8302 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-05/0.6159, allocations: 101.6 kB / 0.8303 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.153e-05/0.616, allocations: 183.6 kB / 0.8305 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.6161, allocations: 185 kB / 0.8307 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.293e-05/0.6162, allocations: 183.7 kB / 0.8308 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-05/0.6163, allocations: 184.9 kB / 0.831 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.6164, allocations: 324.8 kB / 0.8313 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.6166, allocations: 205.4 kB / 0.8315 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.6167, allocations: 196.1 kB / 0.8317 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.6168, allocations: 101.9 kB / 0.8318 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.6169, allocations: 181 kB / 0.832 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.617, allocations: 104.8 kB / 0.8321 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000275/0.6172, allocations: 277.8 kB / 0.8323 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6172, allocations: 4 kB / 0.8323 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003989/0.6176, allocations: 88.31 kB / 0.8324 GB, free: 11.82 MB / 0.5919 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.0003621/0.618, allocations: 296.8 kB / 0.8327 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.6182, allocations: 120.2 kB / 0.8328 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6182, allocations: 0 / 0.8328 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.466e-06/0.6182, allocations: 8.312 kB / 0.8328 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.6186, allocations: 467.8 kB / 0.8333 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006354/0.6193, allocations: 0.5185 MB / 0.8338 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.6197, allocations: 0.7765 MB / 0.8345 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.6197, allocations: 10.09 kB / 0.8346 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.6197, allocations: 0 / 0.8346 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of Templates: time 0.00539/0.6251, allocations: 3.161 MB / 0.8376 GB, free: 9.715 MB / 0.5919 GB " [Timeout remaining time 659] 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: 9.04521329794079] Failed to read output from testmodel.py, exit status != 0: 0.633261586073786 0.646304395 0.032163217 Calling exit ...