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.0009659/0.0009659, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001004/0.001004, allocations: 177 kB / 23.36 MB, free: 1.133 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.938/0.938, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.001714/0.001714, allocations: 242.9 kB / 260.5 MB, free: 12.71 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.7802/0.7802, allocations: 138.4 MB / 402.2 MB, free: 0.5625 MB / 362.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 2.505e-06/2.505e-06, allocations: 1.156 kB / 462.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2e-05/1.451e-05, allocations: 2.859 kB / 462.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001819/0.001833, allocations: 1.524 MB / 463.8 MB, free: 15.96 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.004307, allocations: 2.647 MB / 466.5 MB, free: 14.25 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.004328, allocations: 1.219 kB / 466.5 MB, free: 14.25 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.005484, allocations: 0.5807 MB / 467.1 MB, free: 13.95 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.796e-05/0.005522, allocations: 18.62 kB / 467.1 MB, free: 13.93 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.274e-06/0.005524, allocations: 0 / 467.1 MB, free: 13.93 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.005697, allocations: 172.4 kB / 467.3 MB, free: 13.77 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.005735, allocations: 15.23 kB / 467.3 MB, free: 13.76 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.616e-05/0.005811, allocations: 83.8 kB / 467.4 MB, free: 13.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.005892, allocations: 60.58 kB / 467.4 MB, free: 13.62 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.005902, allocations: 4.812 kB / 467.4 MB, free: 13.62 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005775/0.006479, allocations: 423 kB / 467.8 MB, free: 13.21 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.006517, allocations: 35.78 kB / 467.9 MB, free: 13.17 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.006574, allocations: 61.27 kB / 467.9 MB, free: 13.11 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.006963, allocations: 430.2 kB / 468.4 MB, free: 12.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.006965, allocations: 0 / 468.4 MB, free: 12.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006965, allocations: 3.938 kB / 468.4 MB, free: 12.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.00697, allocations: 0.6562 kB / 468.4 MB, free: 12.69 MB / 426.7 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.0003988/0.007368, allocations: 467.3 kB / 468.8 MB, free: 12.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.624e-05/0.007395, allocations: 12.75 kB / 468.8 MB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.00761, allocations: 88.2 kB / 468.9 MB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.007721, allocations: 237.6 kB / 469.1 MB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.007754, allocations: 150.9 kB / 469.3 MB, free: 11.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.007787, allocations: 154.9 kB / 469.4 MB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.591e-05/0.007823, allocations: 101.5 kB / 469.5 MB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.007839, allocations: 75.47 kB / 469.6 MB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.007872, allocations: 151.9 kB / 469.8 MB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.007909, allocations: 161.8 kB / 469.9 MB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.007942, allocations: 162.5 kB / 470.1 MB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.008092, allocations: 377.6 kB / 470.5 MB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.999e-05/0.008142, allocations: 171.5 kB / 470.6 MB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.00816, allocations: 80.14 kB / 470.7 MB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.008177, allocations: 83.28 kB / 470.8 MB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.008205, allocations: 109.8 kB / 470.9 MB, free: 10.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.008205, allocations: 0 / 470.9 MB, free: 10.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 9.732e-05/0.008303, allocations: 41.69 kB / 470.9 MB, free: 10.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.008335, allocations: 127.3 kB / 471 MB, free: 9.895 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.00852, allocations: 343 kB / 471.4 MB, free: 9.547 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.008528, allocations: 27.92 kB / 471.4 MB, free: 9.516 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.00857, allocations: 132.5 kB / 471.5 MB, free: 9.383 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.008571, allocations: 0 / 471.5 MB, free: 9.383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.008627, allocations: 89.56 kB / 471.6 MB, free: 9.289 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.008704, allocations: 342.7 kB / 472 MB, free: 8.945 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-05/0.00875, allocations: 51.42 kB / 472 MB, free: 8.895 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.604e-05/0.008806, allocations: 99.23 kB / 472.1 MB, free: 8.781 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.008945, allocations: 213.2 kB / 472.3 MB, free: 8.547 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.008947, allocations: 0 / 472.3 MB, free: 8.547 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000541/0.009488, allocations: 254.2 kB / 472.6 MB, free: 8.285 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.009498, allocations: 4 kB / 472.6 MB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.009503, allocations: 5.219 kB / 472.6 MB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.009511, allocations: 4 kB / 472.6 MB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.487e-06/0.009514, allocations: 7.938 kB / 472.6 MB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.009517, allocations: 0 / 472.6 MB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.862e-05/0.009596, allocations: 44.27 kB / 472.6 MB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.009602, allocations: 4 kB / 472.6 MB, free: 8.219 MB / 426.7 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 8.57e-05/0.009687, allocations: 201.8 kB / 472.8 MB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.00973, allocations: 112.9 kB / 472.9 MB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.009763, allocations: 110.9 kB / 473.1 MB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-05/0.0098, allocations: 185.2 kB / 473.2 MB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.153e-05/0.009842, allocations: 181 kB / 473.4 MB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.956e-05/0.009882, allocations: 180.3 kB / 473.6 MB, free: 7.227 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.01002, allocations: 374.1 kB / 473.9 MB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/0.01004, allocations: 101 kB / 474 MB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.01006, allocations: 101.9 kB / 474.1 MB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.571e-05/0.0101, allocations: 180.2 kB / 474.3 MB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.01014, allocations: 185.5 kB / 474.5 MB, free: 6.254 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.786e-05/0.01018, allocations: 184.2 kB / 474.7 MB, free: 6.066 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.591e-05/0.01021, allocations: 177.7 kB / 474.9 MB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.46e-05/0.0103, allocations: 319.7 kB / 475.2 MB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.01034, allocations: 120.8 kB / 475.3 MB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.01039, allocations: 189.9 kB / 475.5 MB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.01046, allocations: 101 kB / 475.6 MB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.0105, allocations: 184.2 kB / 475.8 MB, free: 4.941 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.01052, allocations: 103 kB / 475.9 MB, free: 4.836 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.249e-05/0.0106, allocations: 128.7 kB / 476 MB, free: 4.711 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0106, allocations: 0 / 476 MB, free: 4.711 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.01081, allocations: 83.88 kB / 476.1 MB, free: 4.629 MB / 426.7 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.0002328/0.01104, allocations: 309.8 kB / 476.4 MB, free: 4.344 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.839e-05/0.01113, allocations: 78.67 kB / 476.4 MB, free: 4.266 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.01114, allocations: 8.875 kB / 476.4 MB, free: 4.258 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.01114, allocations: 0 / 476.4 MB, free: 4.258 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.01133, allocations: 472.8 kB / 476.9 MB, free: 3.797 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.01177, allocations: 451.6 kB / 477.4 MB, free: 3.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.073e-05/0.01182, allocations: 88.81 kB / 477.4 MB, free: 3.215 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.228e-06/0.01182, allocations: 4.875 kB / 477.4 MB, free: 3.211 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.01186, allocations: 55.36 kB / 477.5 MB, free: 3.16 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01186, allocations: 3.938 kB / 477.5 MB, free: 3.156 MB / 426.7 MB Notification: Performance of Templates: time 0.005515/0.01737, allocations: 4.369 MB / 481.9 MB, free: 15.1 MB / 442.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6475136359222233]