Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 106.5 kB / 16.4 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 192.5 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7224/0.7224, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 61.83 kB / 0.5577 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2048, allocations: 76.19 MB / 0.6321 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003097/0.208, allocations: 1.378 MB / 0.6334 GB, free: 3.043 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.2104, allocations: 1.935 MB / 0.6353 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.2104, allocations: 0 / 0.6353 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.2115, allocations: 389.9 kB / 0.6357 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.585e-05/0.2116, allocations: 15.91 kB / 0.6357 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.45e-06/0.2116, allocations: 0 / 0.6357 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.2118, allocations: 131.2 kB / 0.6358 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.039e-05/0.2119, allocations: 21.5 kB / 0.6358 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.576e-05/0.212, allocations: 43.73 kB / 0.6359 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.2121, allocations: 63.7 kB / 0.6359 GB, free: 456 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2122, allocations: 4 kB / 0.6359 GB, free: 452 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004991/0.2127, allocations: 179.9 kB / 0.6361 GB, free: 272 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.2127, allocations: 27.91 kB / 0.6361 GB, free: 244 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.2128, allocations: 83.53 kB / 0.6362 GB, free: 160 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.2134, allocations: 282.9 kB / 0.6365 GB, free: 15.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2134, allocations: 4 kB / 0.6365 GB, free: 15.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2134, allocations: 4 kB / 0.6365 GB, free: 15.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.2134, allocations: 0 / 0.6365 GB, free: 15.87 MB / 494.1 MB 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.000868/0.2143, allocations: 494.5 kB / 0.637 GB, free: 15.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.2143, allocations: 8.031 kB / 0.637 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.2145, allocations: 96.02 kB / 0.6371 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.2148, allocations: 283.4 kB / 0.6373 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.54e-05/0.2149, allocations: 158.9 kB / 0.6375 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/0.2149, allocations: 158.9 kB / 0.6376 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.207e-05/0.215, allocations: 105.1 kB / 0.6377 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.2151, allocations: 75.28 kB / 0.6378 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.2151, allocations: 150.6 kB / 0.638 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.018e-05/0.2152, allocations: 162.5 kB / 0.6381 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.292e-05/0.2153, allocations: 154.6 kB / 0.6383 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.2157, allocations: 0.5015 MB / 0.6388 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.938e-05/0.2158, allocations: 177.1 kB / 0.6389 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.701e-05/0.2158, allocations: 88.12 kB / 0.639 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.2159, allocations: 75.28 kB / 0.6391 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.437e-05/0.2159, allocations: 109.8 kB / 0.6392 GB, free: 12.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.2159, allocations: 0 / 0.6392 GB, free: 12.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001836/0.2161, allocations: 49.45 kB / 0.6392 GB, free: 12.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.2162, allocations: 126.7 kB / 0.6393 GB, free: 12.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.2166, allocations: 326.3 kB / 0.6397 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.2166, allocations: 29.64 kB / 0.6397 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.2167, allocations: 116.4 kB / 0.6398 GB, free: 12.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.2167, allocations: 0 / 0.6398 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.2168, allocations: 65.67 kB / 0.6399 GB, free: 12.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2169, allocations: 326.8 kB / 0.6402 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.691e-05/0.217, allocations: 63.95 kB / 0.6402 GB, free: 11.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.2172, allocations: 125.7 kB / 0.6404 GB, free: 11.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.2174, allocations: 205.8 kB / 0.6406 GB, free: 11.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2174, allocations: 0 / 0.6406 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004458/0.2179, allocations: 241.1 kB / 0.6408 GB, free: 11.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.2179, allocations: 4 kB / 0.6408 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.2179, allocations: 224 / 0.6408 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.2179, allocations: 8 kB / 0.6408 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-06/0.218, allocations: 8 kB / 0.6408 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.218, allocations: 3.938 kB / 0.6408 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.2181, allocations: 31.59 kB / 0.6408 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.2181, allocations: 4 kB / 0.6408 GB, free: 11.15 MB / 494.1 MB 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.0002493/0.2184, allocations: 225 kB / 0.6411 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.2185, allocations: 120.7 kB / 0.6412 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.2185, allocations: 121.8 kB / 0.6413 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.139e-05/0.2186, allocations: 176.3 kB / 0.6415 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-05/0.2187, allocations: 184.2 kB / 0.6416 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.911e-05/0.2188, allocations: 180.3 kB / 0.6418 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.2191, allocations: 449.2 kB / 0.6422 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-05/0.2191, allocations: 112.9 kB / 0.6423 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/0.2192, allocations: 108.9 kB / 0.6424 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.728e-05/0.2192, allocations: 180.2 kB / 0.6426 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/0.2193, allocations: 176.3 kB / 0.6428 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.157e-05/0.2194, allocations: 184.2 kB / 0.643 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.075e-05/0.2195, allocations: 180.3 kB / 0.6431 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.2197, allocations: 319.6 kB / 0.6434 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.745e-05/0.2198, allocations: 201.8 kB / 0.6436 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.752e-05/0.2199, allocations: 188.2 kB / 0.6438 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.22, allocations: 101 kB / 0.6439 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.79e-05/0.2201, allocations: 180.3 kB / 0.6441 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/0.2201, allocations: 109.2 kB / 0.6442 GB, free: 7.492 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.2203, allocations: 213.9 kB / 0.6444 GB, free: 7.285 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2204, allocations: 3.938 kB / 0.6444 GB, free: 7.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003984/0.2208, allocations: 64 kB / 0.6444 GB, free: 7.219 MB / 494.1 MB 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.0004059/0.2212, allocations: 282.4 kB / 0.6447 GB, free: 6.934 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.2214, allocations: 99.89 kB / 0.6448 GB, free: 6.836 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.2214, allocations: 4 kB / 0.6448 GB, free: 6.832 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.2214, allocations: 0 / 0.6448 GB, free: 6.832 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.2219, allocations: 464.7 kB / 0.6453 GB, free: 6.375 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.2225, allocations: 404.2 kB / 0.6456 GB, free: 5.957 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.2229, allocations: 0.7392 MB / 0.6464 GB, free: 5.191 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.386e-05/0.223, allocations: 4 kB / 0.6464 GB, free: 5.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.223, allocations: 11.44 kB / 0.6464 GB, free: 5.18 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.223, allocations: 0 / 0.6464 GB, free: 5.18 MB / 494.1 MB Notification: Performance of Templates: time 0.00543/0.2284, allocations: 2.286 MB / 0.6486 GB, free: 2.891 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)